package io.xxx.xbutler.core.callback;

import com.alibaba.fastjson2.JSONArray;
import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.hy.corecode.idgen.WFGIdGenerator;
import io.xxx.xbutler.data.MessageMapper;
import io.xxx.xbutler.data.RobotMessageMapper;
import io.xxx.xbutler.domain.Callback;
import io.xxx.xbutler.domain.Message;
import io.xxx.xbutler.domain.RobotMessage;
import io.xxx.xbutler.domain.task.ReceiverType;
import jakarta.annotation.Resource;
import jodd.util.Base64;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.tuple.Pair;
import org.springframework.util.ObjectUtils;

import java.time.LocalDateTime;
import java.time.ZoneId;

/**
 * <pre>
 * {
 *     "Data": {
 *         "vcMd5": "",
 *         "nMsgNum": -1,
 *         "nSortId": 1740454717646,
 *         "vcMsgId": "4219157664121992215",
 *         "fileList": [],
 *         "nMsgType": 1000,
 *         "vcCardId": "",
 *         "dtMsgTime": "2025-02-25 11:38:29.000",
 *         "nEmojiLen": 0,
 *         "nFileSize": 0.0,
 *         "nick_name": "",
 *         "vcContent": "<sysmsg type=\"dynacfg\"><dynacfg><Item key=\"AVItemSightDisable\">0</Item><Item key=\"AffiliatedAcctForgetPwdUrl\"><![CDATA[https://weixin110.qq.com/security/newreadtemplate?t=findpasswd/index&from=sec&jmpesc=hjkl]]></Item><Item key=\"AffiliatedAcctRegScene\">1</Item><Item key=\"AffiliatedAcctRegSwitch\">1</Item><Item key=\"AndroidCleanSnsDb\">1</Item><Item key=\"AndroidCursorModePercentage\">50</Item><Item key=\"AndroidDBBackupMaxDBSizeMB\">4192</Item><Item key=\"AndroidDBBackupPercentage\">80</Item><Item key=\"AndroidDynamicConfigVer\">7</Item><Item key=\"AndroidIndoorSensorReport\">60,20000,3000,1000,20,8,1;113.3271;23.1322,2;113.3271;23.1321,1;113.3171;23.1404,2;113.3172;23.1403,1;113.3324;23.1342,2;113.3323;23.1342,1;113.3246;23.1000,2;113.3246;23.1000,</Item><Item key=\"AndroidNewSyncService3\">100</Item><Item key=\"AndroidSenseWhereArgs\"><![CDATA[100;5000;5000;30000;3600]]></Item><Item key=\"AndroidUseUnicodeEmoji\">0</Item><Item key=\"AndroidUseWorkerAuthCache\">101</Item><Item key=\"AppleWatchSnsThumbUrlSuffix\"><![CDATA[w=80&h=80&s=1]]></Item><Item key=\"AppleWatchSnsUrlSuffix\"><![CDATA[w=312&h=312&s=1]]></Item><Item key=\"AppleWatchSnsUrlSwitch\">1</Item><Item key=\"ApprovedVideoPrivateProtocolHosts\"><![CDATA[vweixinf.tc.qq.com,szwbwxsns.video.qq.com,szxzwxsns.video.qq.com,szzjwxsns.video.qq.com,shwbwxsns.video.qq.com,shxzwxsns.video.qq.com,shzjwxsns.video.qq.com,wxsnsdy.wxs.qq.com,vweixinthumb.tc.qq.com,wxsnsdythumb.wxs.qq.com,wxappthumb.tc.qq.com,wxapp.tc.qq.com,wxsnsdysvp.wxs.qq.com]]></Item><Item key=\"AssociateChatRoomLocalCheckMaxMemberCount\">500</Item><Item key=\"AssociatechatroomPayTransferEntranceGrayscaleStatus\">1</Item><Item key=\"AutoAddFriendShow\">0</Item><Item key=\"BBMBindPage\">0</Item><Item key=\"BBMContactUpload\">100</Item><Item key=\"BizEnableWebpUrl\">http://mmbiz.qpic.cn;https://mmbiz.qlogo.cn</Item><Item key=\"BizEnableWxPicUrl\"><![CDATA[http://mmbiz.qpic.cn;https://mmbiz.qpic.cn;http://mmbiz.qlogo.cn;https://mmbiz.qlogo.cn]]></Item><Item key=\"BizServiceMuteWhitelist\"><![CDATA[qqmail,qmessage,tmessage,floatbottle,facebookapp,qqfriend,newsapp,feedsapp,masssendapp,blogapp,voipapp,voicevoipapp,voiceinputapp,googlecontact,fmessage,medianote,qqsync,lbsapp,shakeapp,linkedinplugin,gh_43f2581f6fd6,gh_3dfda90e39d6,gh_f0a92aa7146c,gh_579db1f2cf89,gh_b4af18eac3d5,gh_e087bb5b95e6,weixin,gh_051d9102de63]]></Item><Item key=\"C2CAlbumVideoStepConfig\">[{\"time\":\"00:00-23:59\",\"abr\":48,\"intval\":90,\"prof\":2,\"preset\":1,\"stepbr\":1,\"conf\":[{\"dura\":\"0~120\",\"wh\":\"720x1280\",\"fps\":30,\"vbr\":1600},{\"dura\":\"120~900\",\"wh\":\"540x960\",\"fps\":30,\"vbr\":1200}]}]</Item><Item key=\"C2CAudioBitRateL1\">48</Item><Item key=\"C2CEmojiNotAutoDownloadTimeRange\"><![CDATA[00:00-23:59]]></Item><Item key=\"C2CImgNotAutoDownloadTimeRange\"><![CDATA[18:00-23:30]]></Item><Item key=\"C2CImgWINNotAutoDownloadTimeRange\"><![CDATA[18:00-23:30]]></Item><Item key=\"C2CMaxPreloadVideo\">100</Item><Item key=\"C2CRecordVideoConfig\">[{\"time\":\"00:00-23:59\",\"abr\":\"48\",\"intval\":\"90\",\"prof\":\"2\",\"preset\":\"1\",\"conf\":[{\"wh\":\"720x1280\",\"fps\":\"30\",\"vbr\":\"1600\"}]}]</Item><Item key=\"C2CSightNotAutoDownloadTimeRange\"><![CDATA[00:00-23:59]]></Item><Item key=\"C2CVideoBitRateL1\">544</Item><Item key=\"C2CVideoDownloadPeakTimeRange\"><![CDATA[00:00-23:59]]></Item><Item key=\"C2CVideoFrameRateL1\">24</Item><Item key=\"C2CVideoIFrameIntervalL1\">90</Item><Item key=\"C2CVideoNotAutoDownloadTimeRange\"><![CDATA[18:00-23:15]]></Item><Item key=\"C2CVideoPresetL1\">faster</Item><Item key=\"C2CVideoProfileL1\">High</Item><Item key=\"C2CVideoResolutionL1\">640:480</Item><Item key=\"CaptureEmojiMaxSize\">300</Item><Item key=\"ChatImgAutoDownloadMax\">1000</Item><Item key=\"ChatRoomAdminMinMemberCount\">2</Item><Item key=\"ChatRoomAdminSwitch\">1</Item><Item key=\"ChatRoomEnableLive\">1</Item><Item key=\"ChatRoomEnableLive_PC_Anchor\">0</Item><Item key=\"ChatRoomEnableLive_PC_Audience\">1</Item><Item key=\"ChatRoomInviteStartCount\">40</Item><Item key=\"ChatRoomMigeateDoneTipbarAgainOpenTime\">604800</Item><Item key=\"ChatRoomMigeateTipbarAgainOpenTime\">31536000</Item><Item key=\"ChatRoomMigeateTipbarCloseCount\">5</Item><Item key=\"ChatRoomOwnerModAnnouncement\">100</Item><Item key=\"ChatRoomOwnerModTopic\">100</Item><Item key=\"ChatroomDonateSwitch\">0</Item><Item key=\"ChatroomGlobalSwitch\">1</Item><Item key=\"CheckBigFileUploadChatroomMemberCountLimit\">5000</Item><Item key=\"ClientBenchmarkLevel\">-1</Item><Item key=\"ClientVideoBufferTimeLimit\">18:00-23:59;</Item><Item key=\"CompressMidPicLevel\">52</Item><Item key=\"CompressMidPicSize\">800</Item><Item key=\"CompressPicLevelFor2G\">0</Item><Item key=\"CompressPicLevelFor3G\">0</Item><Item key=\"CompressPicLevelForWifi\">0</Item><Item key=\"CustomEmojiMaxSize\">999</Item><Item key=\"DNSAdvanceOpen\">1</Item><Item key=\"DNSAdvanceRelateDomain\"><![CDATA[<DNSAdvanceRelateDomain><RelateDomain domain=\"mp.weixin.qq.com\"><Relate>res.wx.qq.com</Relate></RelateDomain><RelateDomain domain=\"pay.weixin.qq.com\"><Relate>res.wx.qq.com</Relate></RelateDomain><RelateDomain domain=\"wx.tenpay.com\"><Relate>res.wx.qq.com</Relate></RelateDomain><RelateDomain domain=\"game.weixin.qq.com\"><Relate>res.wx.qq.com</Relate><Relate>mmocgame.qpic.cn</Relate><Relate>wximg.gtimg.com</Relate><Relate>wximg.qq.com</Relate><Relate>p.qpic.cn</Relate></RelateDomain></DNSAdvanceRelateDomain>]]></Item><Item key=\"DeviceAutoSyncClose\">0</Item><Item key=\"DeviceAutoSyncDuration\">60</Item><Item key=\"DeviceAutoSyncInterval\">7200</Item><Item key=\"DeviceSportsStepInterval\">500</Item><Item key=\"DeviceTimingSyncBeginTime\"><![CDATA[21:30]]></Item><Item key=\"DeviceTimingSyncEndTime\"><![CDATA[22:00]]></Item><Item key=\"DeviceTimingSyncOpen\">1</Item><Item key=\"DisableSendPat\">0</Item><Item key=\"DownloadStreamFileSizeThreshold\">1048576</Item><Item key=\"DwpDownloadSec\">1</Item><Item key=\"DwpFullDownloadPercent\">75</Item><Item key=\"DwpPreloadSec\">5</Item><Item key=\"EmojiUpdateUrlDomain\"><![CDATA[emoji.qpic.cn]]></Item><Item key=\"EmoticonBrowseGridEmojiCount\">3</Item><Item key=\"EmoticonBrowseGridEmoticonCount\">5</Item><Item key=\"EmoticonBrowseGridMaxCount\">10</Item><Item key=\"EmotionPanelConfigName\"><![CDATA[emojipanel-config-jifu.xml]]></Item><Item key=\"EmotionRewardTipsLimit\"><![CDATA[30,20,60]]></Item><Item key=\"EmotionSpringFestivalPendantSwitch\">0</Item><Item key=\"EnableCDNUploadImg\">1</Item><Item key=\"EnableEmoticonExternUrl\">7</Item><Item key=\"EnableFavPicTranslation\">1</Item><Item key=\"EnableForgroundService\">101</Item><Item key=\"EnableFtsFastIndexing\">1</Item><Item key=\"EnableFtsMsgMemSearch\">1</Item><Item key=\"EnableJPEGDyncmicETL\">1</Item><Item key=\"EnableMMBitmapFactoryProb\">101</Item><Item key=\"EnableMigrateToWeChatForPC\">1</Item><Item key=\"EnableNewOCRTranslation\">1</Item><Item key=\"EnableSessionPicTranslation\">1</Item><Item key=\"EnableSnsImageDownload\">1</Item><Item key=\"EnableSnsPicTranslation\">1</Item><Item key=\"EnableVoiceVoipFromPlugin\">1</Item><Item key=\"EnableWebviewPicTranslation\">1</Item><Item key=\"ExposeH5Switch\">1</Item><Item key=\"ExtFunctionSwitchEntry\">0</Item><Item key=\"F2FOpenTime\">15</Item><Item key=\"FileClickdownloadSizeByteLimitInWifi\">10485760</Item><Item key=\"FileClickdownloadSizeByteLimitNotInWifi\">1048576</Item><Item key=\"FinderAudioTrackLoadDuration\">10</Item><Item key=\"FinderCommentAutoExpandSubcommentList\">1</Item><Item key=\"FinderCommentLineWrapLimit\">10</Item><Item key=\"FinderCommentListPreloadCount\">5</Item><Item key=\"FinderCommentNickNameMaxLength\">6</Item><Item key=\"FinderCommentShowBlacklist\">1</Item><Item key=\"FinderCommentTextLimit\">400</Item><Item key=\"FinderEnableShowWXMentionSwitchEntry\">1</Item><Item key=\"FinderExtendedReadingPrefix\"><![CDATA[https://mp.weixin.qq.com;https://game.weixin.qq.com;https://support.weixin.qq.com;http://m.v.qq.com;https://m.v.qq.com]]></Item><Item key=\"FinderFastEnterTime\">0</Item><Item key=\"FinderFeedCompressPicLevel\">80</Item><Item key=\"FinderFeedCompressResolution\">2048*2048</Item><Item key=\"FinderFeedNewPostThumbMaxSize\">100</Item><Item key=\"FinderFeedPostCoverMaxSize\">1024</Item><Item key=\"FinderGetLiveMsgDisasterRetryInterval\">5</Item><Item key=\"FinderHeadCompressPicLevel\">70</Item><Item key=\"FinderHeadCompressResolution\">1080*1080</Item><Item key=\"FinderHeadIconFormat\">{\"small\":\"64\",\"medium\":\"132\",\"origin\":\"0\"}</Item><Item key=\"FinderLimitedModeConfig\">98</Item><Item key=\"FinderLimitedYoungContentOpenShareList\">0</Item><Item key=\"FinderLiveEncourageAdDurationInterval\">{\"min\":15, \"max\":60}</Item><Item key=\"FinderLiveFeedbackNotInterestedSwitch\">1</Item><Item key=\"FinderLiveJoinLiveInvisiableSwitch\">0</Item><Item key=\"FinderLiveLotteryPromptAttendTypeCompatibility\">0</Item><Item key=\"FinderLiveRoomDomainList\">aliycdn.flv.wxqcloud.qq.com;hscdn.flv.wxqcloud.qq.com;hw.flv.wxqcloud.qq.com;csycdn.flv.wxqcloud.qq.com;voipfinderliveplay.wxqcloud.qq.com;voipfinderliveplay1.wxqcloud.qq.com;voipfinderrdsliveplay.wxqcloud.qq.com;voipfinderrdsliveplay1.wxqcloud.qq.com;voipfinderrdsliveplay2.wxqcloud.qq.com;voipfinderrdsliveplay3.wxqcloud.qq.com;voipfinderspamliveplay.wxqcloud.qq.com;voipfindereventsliveplay.wxqcloud.qq.com;voipfinderliveplaythird.wxqcloud.qq.com;voipfinderliveplaythirdtest.wxqcloud.qq.com;pull-m1.wxlivecdn.com</Item><Item key=\"FinderLiveSyncExtraInfoMergeInterval\">1</Item><Item key=\"FinderLiveSyncExtraInfoMinSleepInterval\">10</Item><Item key=\"FinderLiveTopCommentDisplayTimeSec\">10</Item><Item key=\"FinderLiveVotingSwitch\">1</Item><Item key=\"FinderMaxTopicCount\">1000</Item><Item key=\"FinderMediaPublishTextLimit\">1000</Item><Item key=\"FinderMentionInputStopTokenList\"><![CDATA[\\n_\\s_\\t_#_@_,_，_。_！_￥_%_……_*_（_）_—_`_~_!_$_^_(_)_=_【_】_；_「_」_、_|_[_]_;_'_,_/_?_{_}_\"_:_<_>_:_：_“_”_《_》_？_\\\\’]]></Item><Item key=\"FinderMiaoJianUniversalLink\"><![CDATA[https://miaojian.wxqcloud.qq.com/vfromwx/createvideo?scene=channels]]></Item><Item key=\"FinderMineTabProfileEntranceDisplayType\">1</Item><Item key=\"FinderMineTabProfileEntranceShouldClose\">0</Item><Item key=\"FinderNearbyLiveSwitch\">1</Item><Item key=\"FinderNewFollowTipsEnterInterval\">0</Item><Item key=\"FinderNewLiveEntryOnTopStorySwitch\">0</Item><Item key=\"FinderNewLiveEntrySwitch\">1</Item><Item key=\"FinderNewMsgTipsEnterInterval\">0</Item><Item key=\"FinderOpenShareListFeedsIgnoreLimitedSwitch\">1</Item><Item key=\"FinderPersonalMsgMaxGreetCount\">1</Item><Item key=\"FinderPoiJumpTopicSwitch\">1</Item><Item key=\"FinderPostEnableSelectRedPacket\">1</Item><Item key=\"FinderPostOriginRuleUrl\"><![CDATA[https://support.weixin.qq.com/cgi-bin/mmsupportacctnodeweb-bin/pages/GzdzwPjCFZDCZkmI]]></Item><Item key=\"FinderPostShortValidTokenList\"><![CDATA[《_》_\\\"_“_”__:_：_+_?_？_%_℃_ _]]></Item><Item key=\"FinderPostWithMpUrlSwitch\">1</Item><Item key=\"FinderPrefetchFilterMinFeedCount\">1</Item><Item key=\"FinderPrefetchStreamSwitch\">0</Item><Item key=\"FinderProfileBgImgCompressPicLevel\">70</Item><Item key=\"FinderProfileBgImgCompressResolution\">1080*1080</Item><Item key=\"FinderProfileCoverSettingShowEntrance\">1</Item><Item key=\"FinderProfileEnableMJTemplate\">1</Item><Item key=\"FinderProfileEnableRedPacketEvent\">1</Item><Item key=\"FinderProfileMainTabEmojiRowCount\">2</Item><Item key=\"FinderProfileMainTabEmoticonRowCount\">3</Item><Item key=\"FinderProfileProductWindowSwitch\">1</Item><Item key=\"FinderProfileUseNewHeaderLogic\">1</Item><Item key=\"FinderPublishVideoConfig\">[{\"time\":\"00:00-23:59\",\"abr\":\"192\",\"intval\":\"90\",\"prof\":\"2\",\"preset\":\"1\",\"conf\":[{\"wh\":\"1080x2320\",\"fps\":\"60\",\"vbr\":\"4000\"}]}]</Item><Item key=\"FinderRecordVideoConfig\">[{\"time\":\"00:00-23:59\",\"abr\":\"192\",\"intval\":\"90\",\"prof\":\"2\",\"preset\":\"1\",\"conf\":[{\"wh\":\"1080x2320\",\"fps\":\"60\",\"vbr\":\"4000\"}]}]</Item><Item key=\"FinderRedDotSyncPathList\"><![CDATA[TLPersonalCenter]]></Item><Item key=\"FinderSelectVideoMaxDuration\">60</Item><Item key=\"FinderShareDetailCommentButtonShow\">0</Item><Item key=\"FinderShareDetailCommentListShow\">0</Item><Item key=\"FinderShowOriginalCertificationUrl\"><![CDATA[http://channels.weixin.qq.com/mobile/original_plan.html#/]]></Item><Item key=\"FinderShowWhatsNew\">0</Item><Item key=\"FinderSuggestTagViewShow\">0</Item><Item key=\"FinderThumbCompressResolution\">1080*1080</Item><Item key=\"FinderThumbUseLowCompressMethod\">0</Item><Item key=\"FinderTimelineEntry\">1</Item><Item key=\"FinderTopicTextLimit\">1000</Item><Item key=\"FinderVideoDownloadSec\">1</Item><Item key=\"FinderVideoMaxLimitDuration\">60</Item><Item key=\"FinderVideoPreloadMinBytes\">2096128</Item><Item key=\"FinderVideoPreloadSec\">5</Item><Item key=\"FinderWXProfileAuthInfoSwitch\">0</Item><Item key=\"FinderWxNameCardFinderAndRecentLikeFinderClose\">0</Item><Item key=\"FoldTextLineNum\">12</Item><Item key=\"FoldTextScreenThreshold\">1.2</Item><Item key=\"FtsFastIndexingThd\">30</Item><Item key=\"FtsGroupSortActiveDays\">14</Item><Item key=\"GetV6StrangerReqInfoMaxCount\">10</Item><Item key=\"HideGameCenter\">0</Item><Item key=\"IMEmoji\"><![CDATA[{\"default\":[\"/:strong\",\"[Worship]\",\"/:heart\",\"[Facepalm]\",\"/::D\",\"[Doge]\",\"[666]\",\"/:hug\"],\"newlife\":[\"[Hey]\",\"[Facepalm]\",\"[666]\",\"[Wow]\",\"[Doge]\",\"/:strong\",\"/:heart\"]}]]></Item><Item key=\"InputLimitFavFileSize\">209715200</Item><Item key=\"InputLimitFavImageSize\">209715200</Item><Item key=\"InputLimitFavNotesSize\">1073741824</Item><Item key=\"InputLimitFavText\">10000</Item><Item key=\"InputLimitFavVideoSize\">209715200</Item><Item key=\"InputLimitFavVoiceLength\">3600</Item><Item key=\"InputLimitFileSize\">26214400</Item><Item key=\"InputLimitForbiddenChar\"><![CDATA[<>/]]></Item><Item key=\"InputLimitGroupFileTotalSize\">5368709120</Item><Item key=\"InputLimitSNSObjectText\">2000</Item><Item key=\"InputLimitSendAppMsgEmotionBufSize\">10485760</Item><Item key=\"InputLimitSendEmotionBufSize\">1048576</Item><Item key=\"InputLimitSendEmotionWidth\">1024</Item><Item key=\"InputLimitSendFileSize\">1073741824</Item><Item key=\"InputLimitSessionShortVideoBufSize\">2097152</Item><Item key=\"InputLimitSessionTextMsg\">16384</Item><Item key=\"InputLimitTextVisualHeight\">3000</Item><Item key=\"InputLimitVideoSize\">1073741824</Item><Item key=\"IntelligenceExternalInfo\"><![CDATA[{\"wxid_wi_1d142z0zdj03\":{\"InteractiveMode\":\"2\",\"MMBizMenu\":{\"button_list\":[{\"id\":1,\"type\":2,\"name\":\"体验满血版 DeepSeek R1\",\"key\":\"yuanbao\",\"value\":\"https://mp.weixin.qq.com/mp/readtemplate?t=yuanbao/jump&yuanbao_from=menu\"}]},\"toolbar_flag\":0}}]]></Item><Item key=\"IntelligenceServiceAgreement\"><![CDATA[{\"wxid_wi_1d142z0zdj03\":{\"service_agreement\":[{\"title\":\"隐私政策\",\"url\":\"https://privacy.qq.com/document/preview/218652c4f1384400ad46fdcb8238cfae\",\"version\":1,\"id\":1},{\"title\":\"服务协议\",\"url\":\"https://rule.tencent.com/rule/202501020002\",\"version\":1,\"id\":2}]}}]]></Item><Item key=\"Interval4ShowPmsDialog\">3600000</Item><Item key=\"InvalidateTextFoldLineNum\">5</Item><Item key=\"InviteFriendsControlFlags\">0</Item><Item key=\"InviteFriendsInviteFlags\">0</Item><Item key=\"InviteFriendsWordingFlags\">65535</Item><Item key=\"JDEntranceConfigActivityId\">20140618</Item><Item key=\"JDEntranceConfigFindTabShowRedDot\">1</Item><Item key=\"JDEntranceConfigIconUrl\"><![CDATA[http://mmbiz.qpic.cn/mmbiz/PiajxSqBRaEKjfmXY7WKX3GRpgjCZfVk1epPED3FQZibRQFPaYVTZ6wkotNOicoHmuPOnkVtJXQ4pPD94PuEHjH2g/0]]></Item><Item key=\"JDEntranceConfigJumpUrl\"><![CDATA[https://m.jd.com/?sceneval_mqq=wx1]]></Item><Item key=\"JDEntranceConfigJumpWeAppUsername\"><![CDATA[gh_45b306365c3d@app]]></Item><Item key=\"JDEntranceConfigName\">购物</Item><Item key=\"LBSShowBindPhone\">1</Item><Item key=\"LifeAppLatestVersionValue\">20</Item><Item key=\"LifeAppPrefetchTimeThreshold\">259200</Item><Item key=\"LimitationOnSight\">{\"kSightLimitationMaxDurationKey\": {\"default\": 300,\"c2c\":3600,\"sns\": 1800}}</Item><Item key=\"ListenEntry\">0</Item><Item key=\"ListenWhiteList\">0</Item><Item key=\"MMBatchModContactTypeFlag\">1</Item><Item key=\"MMBatchModContactTypeMaxNumForClient\">30</Item><Item key=\"MMBatchModContactTypeMaxNumForServer\">30</Item><Item key=\"MMDirectCreateAssociateChatRoomSwitch\">1</Item><Item key=\"MMEnableChatRoomRemark\">1</Item><Item key=\"MMForwardUpgradeChatRoomSwitch\">0</Item><Item key=\"MMIotSendMsgFileSizeLimit\">100</Item><Item key=\"MMSocialBlackListFlag\">1</Item><Item key=\"MMUxAdLog2GSendSize\">20480</Item><Item key=\"MMUxAdLog3GSendSize\">30720</Item><Item key=\"MMUxAdLogMaxExceptionTime\">43200</Item><Item key=\"MMUxAdLogMaxRandTime\">300</Item><Item key=\"MMUxAdLogMinRandTime\">60</Item><Item key=\"MMUxAdLogWifiSendSize\">51200</Item><Item key=\"MPAppAuthManagementSwitch\">1</Item><Item key=\"MsgResendFileUploadContinueMaxCount\">0</Item><Item key=\"MsgSyncSwitch\">0</Item><Item key=\"MultitalkBlockCaller\">0</Item><Item key=\"MultitalkBlockReceiver\">0</Item><Item key=\"NeedClearLBSCahce\">0</Item><Item key=\"NewLifeRedDotSyncPathList\"><![CDATA[FinderEntrance]]></Item><Item key=\"NewOCRTranslationSupportUserLanguage\"><![CDATA[zh_CN;en;zh_TW;zh_HK;th;vi;pt;id;es;ar;ru;pl;hi;ja;it;ko;ms;he;tr;de;fr]]></Item><Item key=\"NewVoiceInputOpenSwitch\">1</Item><Item key=\"OnlyScanRunningService\">0</Item><Item key=\"OpenF2F\">1</Item><Item key=\"OpenIMC2BPayTransferMeueGrayscaleStatus\">1</Item><Item key=\"OpenImKefuContactUpdateInterval_Second\">86400</Item><Item key=\"PCFinderEntryExposeReportInterval\">300</Item><Item key=\"PCFinderEntryXlabSwitch\">0</Item><Item key=\"PCFinderRecommendPreloadInterval\">21600</Item><Item key=\"PatSuffixMaxByte\">20</Item><Item key=\"PicTranslationSupportUserLanguage\"><![CDATA[zh_CN;en;zh_TW;zh_HK;th;vi;pt;id;es;ar;ru;pl;hi;ja;it;ko;ms;he;tr;de;fr]]></Item><Item key=\"PostLinkVideoPageLiteapp\">eyJhcHBJZCI6Ind4YWxpdGU0MDEwOGRjM2U3NDkxYmFjNzJhODZmMzg0YmM2Njc5YyIsInBhdGgiOiJwYWdlcy9maWxtLWxpc3QvZW50cnkiLCJxdWVyeSI6IiJ9</Item><Item key=\"PreLoadVideoExpiredTime\">3</Item><Item key=\"ProgJPEGDownloadSizeLimit\">35</Item><Item key=\"ProgJPEGUploadSizeLimit2G\">100</Item><Item key=\"ProgJPEGUploadSizeLimit3G\">100</Item><Item key=\"ProgJPEGUploadSizeLimitWifi\">100</Item><Item key=\"PublicWifiAnnotation\"><![CDATA[微信连Wi-Fi]]></Item><Item key=\"PublicWifiAnnotationExpire\">86400</Item><Item key=\"PublicWifiAnnotationSwitch\">3</Item><Item key=\"PublishMegaVideoConfig\">[{\"time\":\"00:00-23:59\",\"abr\":\"192\",\"intval\":\"90\",\"prof\":\"2\",\"preset\":\"1\",\"conf\":[{\"wh\":\"1080x2320\",\"fps\":\"60\",\"vbr\":\"4000\"}]}]</Item><Item key=\"QQAssistantInfoExpireTime\">86400</Item><Item key=\"RecordMegaVideoConfig\">[{\"time\":\"00:00-23:59\",\"abr\":\"192\",\"intval\":\"90\",\"prof\":\"2\",\"preset\":\"1\",\"conf\":[{\"wh\":\"1080x2320\",\"fps\":\"60\",\"vbr\":\"4000\"}]}]</Item><Item key=\"ReportRingBackRequestInfoMaxCount\">10</Item><Item key=\"RoomLimitWatchMemberMax\">4</Item><Item key=\"SIGHTAutoLoadNetwork\">1</Item><Item key=\"SIGHTCannotTransmitForFav\">0</Item><Item key=\"SNSUploadLargeFileAPISwitch\">1</Item><Item key=\"SessionPicTranslationSupportUserLanguage\"><![CDATA[zh_CN;en;zh_TW;zh_HK;th;vi;pt;id;es;ar;ru;pl;hi;ja;it;ko;ms;he;tr;de;fr]]></Item><Item key=\"SetCareModeQuickCallContactReqInfoMaxCount\">10</Item><Item key=\"Show3rdTools\">0</Item><Item key=\"ShowAPPSuggestion\">0</Item><Item key=\"ShowDesignerEmoji\">1</Item><Item key=\"ShowDownloadTipsTimesForTMAssist\">6</Item><Item key=\"ShowNewMsgTips\">0</Item><Item key=\"ShowOpenImInGroup\">1</Item><Item key=\"ShowPermissionDialog\">1</Item><Item key=\"ShowPersonalEmotion\">1</Item><Item key=\"ShowRevokeMsgEntry\">1</Item><Item key=\"ShowSecurityEntry\">1</Item><Item key=\"ShowShakeTV\">0</Item><Item key=\"ShowTurnOnFriendVerificationBannerSwitch\">0</Item><Item key=\"ShowTurnOnFriendVerificationSysmsgSwitch\">0</Item><Item key=\"ShowUnbindPhone\">0</Item><Item key=\"SightForwardEnable\">1</Item><Item key=\"SightRecordHighEndCpuList\">[\"Qualcomm Technologies, Inc MSM8994\", \"Qualcomm Technologies, Inc MSM8996\", \"Qualcomm Technologies, Inc MSM8996pro\", \"Hisilicon Kirin 955\"]</Item><Item key=\"SignallingMask\">SendMsg,QRCode</Item><Item key=\"SilentDownloadApkAtWiFi\">0</Item><Item key=\"SnSPreLoadVideoExpiredTime\">3</Item><Item key=\"SnsAdAtFriendRedDot\">1</Item><Item key=\"SnsAdNativePageForwardFeedPreloadPageCount\">1</Item><Item key=\"SnsAdNativePageForwardFeedPreloadResourceCount\">2</Item><Item key=\"SnsAdNativePageNormalFeedPreloadPageCount\">2</Item><Item key=\"SnsAdNativePageNormalFeedPreloadResourceCount\">3</Item><Item key=\"SnsAdNativePagePreloadStreamMedia\">0</Item><Item key=\"SnsAdNotifyCommentTimeLimit\">1814400</Item><Item key=\"SnsAdNotifyLikeTimeLimit\">1814400</Item><Item key=\"SnsAdNotifyLimit\">40</Item><Item key=\"SnsAlbumVideoConfig\">[{\"time\":\"00:00-23:59\",\"abr\":\"48\",\"intval\":\"90\",\"prof\":\"2\",\"preset\":\"1\",\"conf\":[{\"wh\":\"720x1280\",\"fps\":\"30\",\"vbr\":\"2000\"}]}]</Item><Item key=\"SnsBigImgPreloadingHistoryClickRatioForIOS\"><![CDATA[00:00-19:30-50;23:00-23:59-50]]></Item><Item key=\"SnsCommentMaxSize\">1000</Item><Item key=\"SnsCompressPicLevelFor2G\">0</Item><Item key=\"SnsCompressPicLevelFor3G\">0</Item><Item key=\"SnsCompressPicLevelForWifi\">0</Item><Item key=\"SnsDragon2024Enabled\">0</Item><Item key=\"SnsDragon2024PostRedDot\">1</Item><Item key=\"SnsGroupImageDownloadSwitch\">0</Item><Item key=\"SnsHEVCSwitch\">1</Item><Item key=\"SnsImgDownloadConcurrentCountForNotWifi\"><![CDATA[00:00-19:30-1-3;19:30-23:00-1-2;23:00-23:59-1-3]]></Item><Item key=\"SnsImgDownloadConcurrentCountForWifi\"><![CDATA[00:00-19:30-3-6;19:30-23:00-1-3;23:00-23:59-3-6]]></Item><Item key=\"SnsImgPreLoadingAroundTimeLimit\">20:00-23:59;00:00-00:30</Item><Item key=\"SnsImgPreLoadingBigImage\">1</Item><Item key=\"SnsImgPreLoadingInterval\">20</Item><Item key=\"SnsImgPreLoadingSmallImage\">1</Item><Item key=\"SnsImgPreLoadingTimeLimit\"><![CDATA[20:00-23:59;00:00-00:30]]></Item><Item key=\"SnsMaxPreloadVideo\">100</Item><Item key=\"SnsPreLoadingVideo\">1</Item><Item key=\"SnsRabbit2023AdEnabled\">0</Item><Item key=\"SnsRabbit2023Enabled\">0</Item><Item key=\"SnsRecordVideoConfig\">[{\"time\":\"00:00-23:59\",\"abr\":\"48\",\"intval\":\"90\",\"prof\":\"2\",\"preset\":\"1\",\"conf\":[{\"wh\":\"720x1280\",\"fps\":\"30\",\"vbr\":\"2000\"}]}]</Item><Item key=\"SnsSightAutoPlay\">1</Item><Item key=\"SnsSightNoAutoDownload\"><![CDATA[20160207170000,20160208030000]]></Item><Item key=\"SnsSightNotAutoDownloadTimeRange\"><![CDATA[00:00-23:59]]></Item><Item key=\"SnsSightShareWeiShiEntrance\">0</Item><Item key=\"SnsSync2FacebookEntrance\">1</Item><Item key=\"SnsTiger2022Enabled\">0</Item><Item key=\"SnsTiger2022LivePopUp\">0</Item><Item key=\"SnsTiger2022ReplySpecialEffectsEnabled\">0</Item><Item key=\"SnsTimelineLikeCommentStoryBubbleSwitch\">1</Item><Item key=\"SnsUseWeiShiShootingEntranceDisplayTimes\">0</Item><Item key=\"SnsUserPageContinuePullCnt\">5</Item><Item key=\"SnsVideoDefaultTemplate\">{\"tpls\":[{\"id\":\"mv_blurtest\",\"desc_ver\": 2000000014}]}</Item><Item key=\"SnsVideoDownloadSec\">1</Item><Item key=\"SnsVideoFullDownloadPercent\">75</Item><Item key=\"SnsVideoMaxLimitDuration\">300</Item><Item key=\"SnsVideoPreloadSec\">3</Item><Item key=\"SnsVideoTemplateCdnDownloadDisabled\">0</Item><Item key=\"SnsVideoTemplateEnabled\">1</Item><Item key=\"SnsVideoTemplateMiaojianRecommendEnabled\">1</Item><Item key=\"SnsVideoTemplateUseSameTemplateEnabled\">1</Item><Item key=\"SnsVideoTemplateVideoConfig\">[{\"time\":\"00:00-23:59\",\"abr\":\"48\",\"intval\":\"90\",\"prof\":\"2\",\"preset\":\"1\",\"conf\":[{\"wh\":\"720x1280\",\"fps\":\"30\",\"vbr\":\"2000\"}]}]</Item><Item key=\"SnsVideoTmplTipsConfig\">{\"activities\":[{\"minDisplayInterval\":\"0\",\"maasEventType\":\"1\",\"beginTime\":\"1707408000\",\"endTime\":\"1707494399\",\"maxDisplayDuration\":\"5\",\"maxDisplayTimesPerDay\":\"1\",\"tips\":{\"en\":\"New Year Movie\",\"zh_HK\":\"新春氛圍視頻\",\"zh_CN\":\"新春氛围视频\",\"zh_TW\":\"新春氛圍視頻\"}},{\"minDisplayInterval\":\"0\",\"maasEventType\":\"1\",\"beginTime\":\"1707494400\",\"endTime\":\"1707580799\",\"maxDisplayDuration\":\"5\",\"maxDisplayTimesPerDay\":\"1\",\"tips\":{\"en\":\"New Year Movie\",\"zh_HK\":\"新春氛圍視頻\",\"zh_CN\":\"新春氛围视频\",\"zh_TW\":\"新春氛圍視頻\"}},{\"minDisplayInterval\":\"0\",\"maasEventType\":\"1\",\"beginTime\":\"1707580800\",\"endTime\":\"1707667199\",\"maxDisplayDuration\":\"5\",\"maxDisplayTimesPerDay\":\"1\",\"tips\":{\"en\":\"New Year Movie\",\"zh_HK\":\"新春氛圍視頻\",\"zh_CN\":\"新春氛围视频\",\"zh_TW\":\"新春氛圍視頻\"}}]}</Item><Item key=\"SnsWXPCSwitch\">1</Item><Item key=\"SnsWxWorkPermissionEntrance\">1</Item><Item key=\"SoSoMapInstallUrl\"><![CDATA[http://mapdownload.map.qq.com/?key=wx&referer=wx1&channel=00008]]></Item><Item key=\"StatusAllowComment\">1</Item><Item key=\"StatusCommentFetchFriendCard\">1</Item><Item key=\"StatusCommentFetchFriendProfile\">1</Item><Item key=\"StatusCommentFetchNotify\">1</Item><Item key=\"StatusCommentFetchSelfAddrbook\">1</Item><Item key=\"StatusCommentFetchSelfCard\">1</Item><Item key=\"StatusDeleteBusiBuf\">0</Item><Item key=\"StatusEntry\">1</Item><Item key=\"StatusFriendsButtonStyleConfig\">{\"style\":2, \"durations\":[\"20:00-19:59\"]}</Item><Item key=\"StatusNotifyForbidEnterSession\">0</Item><Item key=\"StatusSetBusiBufMaxByteSize\">61440</Item><Item key=\"StatusUseBypassMsg\">2</Item><Item key=\"StoryEditVideoBgmSwitch\">1</Item><Item key=\"StoryEntranceShouldShowInTimelineOfUnreadCount\">1</Item><Item key=\"StoryRecordUnderiPhone6sVideoConfig\">[{\"time\":\"20:00-22:30\",\"abr\":\"48\",\"intval\":\"24\",\"prof\":\"2\",\"preset\":\"1\",\"conf\":[{\"wh\":\"720x1280\",\"fps\":\"30\",\"vbr\":\"3500\"}]}]</Item><Item key=\"StoryRecordVideoConfig\">[{\"time\":\"20:00-22:30\",\"abr\":\"48\",\"intval\":\"24\",\"prof\":\"2\",\"preset\":\"1\",\"conf\":[{\"wh\":\"720x1280\",\"fps\":\"30\",\"vbr\":\"3500\"}]}]</Item><Item key=\"StoryShouldShowEntraceInChatRoom\">1</Item><Item key=\"StoryShouldShowEntraceInFavorFriend\">1</Item><Item key=\"StoryShouldShowEntranceInTimelineOfTimeDuration\">60</Item><Item key=\"TextStatusShowRedEnvelopeEntry\">1</Item><Item key=\"ThresholdToCleanLocation\">0</Item><Item key=\"TopRightMenu1\"><![CDATA[<Menu id=\"1\" shownew=\"0\" seq=\"3\" order=\"200\"/>]]></Item><Item key=\"TopRightMenu10\"><![CDATA[<Menu id=\"10\" shownew=\"0\" seq=\"3\" order=\"300\"/>]]></Item><Item key=\"TopRightMenu2\"><![CDATA[<Menu id=\"2\" shownew=\"0\" seq=\"3\" order=\"100\"/>]]></Item><Item key=\"TopRightMenu20\"><![CDATA[<Menu id=\"20\" shownew=\"0\" seq=\"4\" order=\"700\"/>]]></Item><Item key=\"TopRightMenu22\"><![CDATA[<Menu id=\"22\" shownew=\"1\" seq=\"1\" order=\"900\"/>]]></Item><Item key=\"TopRightMenu23\"><![CDATA[<Menu id=\"23\" shownew=\"1\" seq=\"1\" order=\"1000\"/>]]></Item><Item key=\"TopRightMenu24\"><![CDATA[<Menu id=\"24\" shownew=\"1\" seq=\"1\" order=\"1100\"/>]]></Item><Item key=\"TopRightMenus\"><![CDATA[<TopRightMenus> <Menu id=\"2\" shownew=\"0\" seq=\"3\"/><Menu id=\"1\" shownew=\"0\" seq=\"3\"/><Menu id=\"10\" shownew=\"0\" seq=\"3\"/><Menu id=\"20\" shownew=\"0\" seq=\"4\"/></TopRightMenus>]]></Item><Item key=\"TrustedFriendFuncEntry\">1</Item><Item key=\"TypingDurationSecond\">30</Item><Item key=\"TypingInterval\">15</Item><Item key=\"TypingTrigger\">-1</Item><Item key=\"UseAesGcmSessionKeyCgiList\"><![CDATA[302,681,138,986,996,771,10910,3565,214,251,3976,522,721,10072,6681,3899,551,1133,11842,6658,212,6238,211,8815,5971,4042,223,683,718,182,3763,6611,159,6619,8755,3520,8560,3980,427,235]]></Item><Item key=\"UseAesGcmSessionKeySwitch\">0</Item><Item key=\"UseOptImage\">100</Item><Item key=\"UseOptImageRecv\">100</Item><Item key=\"UseVideoHash\">100,100,30</Item><Item key=\"VOIPBlockIgnoreButton\">1</Item><Item key=\"VOIPCallType\">1</Item><Item key=\"VOIPCameraSwitch\">1</Item><Item key=\"VOIPShortcutAutoadd\">2</Item><Item key=\"VideoDownloadH265Flag\">31</Item><Item key=\"VideoDownloadVcodec2Flag\">31</Item><Item key=\"VoiceCdnDownloadSwitch\">0</Item><Item key=\"VoiceCdnUploadSwitch\">0</Item><Item key=\"VoiceFormat\">4</Item><Item key=\"VoiceRate\">16000</Item><Item key=\"VoiceRecognizeSprDataMD5\"><![CDATA[61bef2b00d87c5f4bf55666c3ef3f273]]></Item><Item key=\"VoiceRecognizeSprSoMD5\"><![CDATA[a0307221c98a725c755bd197d0c7e77c;28fa1b6ba9581e3d4371d6838b31ee9a;c4043dbb3c8e9fd2f275e98c8ddc82fb]]></Item><Item key=\"VoiceSamplingRate\">16000</Item><Item key=\"VoiceVOIPSwitch\">0</Item><Item key=\"VoipTimeLogicValue\">-1</Item><Item key=\"VoipUseCallKitSwitch\">1</Item><Item key=\"WCOAccountDetailSwitch\">0</Item><Item key=\"WCOEntranceRedDot\">1</Item><Item key=\"WCOEntranceSwitch\">0</Item><Item key=\"WCOInviteFriend\">0</Item><Item key=\"WCOMaxTimesForShowFeedback\">1</Item><Item key=\"WCOMaxTimesForTryShowWcoMainFromVoip\">0</Item><Item key=\"WCOOpenGiftCardEntranceSwitch\">1</Item><Item key=\"WCOPackagePurchaseSwitch\">1</Item><Item key=\"WakenPushDeepLinkBitSet\">262148</Item><Item key=\"WeAppForbiddenSwitch\">0</Item><Item key=\"WeChatOutBalanceBottomHiden\">0</Item><Item key=\"WeChatOutCountryCodeRestrictionPackageID\">10000</Item><Item key=\"WeChatOutTopCountryCode\"><![CDATA[1,65,86,44,60,971,91,33]]></Item><Item key=\"WeRunLaunchGroupRankWeAppSwitch\">2</Item><Item key=\"WebKernelMode\">0</Item><Item key=\"WebViewFlowControl\">2</Item><Item key=\"WeiShiShareSnsSightTimeLength\">30</Item><Item key=\"XwebBatchTranslateMaxByteLength\">2000</Item><Item key=\"XwebBatchTranslateMaxCnt\">100</Item><Item key=\"showRecvTmpMsgBtn\">0</Item><Item key=\"MMBizAttrSyncFreq\">300</Item><Item key=\"ScanBookWording\"><![CDATA[title=封面/电影海报&buttonTitle=封面&tip=将书、CD、电影海报放入框内，即可自动扫描]]></Item><Item key=\"DynacfgSendTime\">1740454709</Item></dynacfg></sysmsg>",
 *         "nVoiceTime": 0,
 *         "vcEmojiMd5": "",
 *         "vcShareUrl": "",
 *         "IsMasterImg": true,
 *         "vcShareDesc": "",
 *         "vcContentXml": null,
 *         "vcObjectData": {
 *             "nObjectId": "",
 *             "vcObjectNonceId": ""
 *         },
 *         "vcQuoteMsgId": "",
 *         "vcShareTitle": "",
 *         "thumbnail_url": "",
 *         "vcMsgSerialNo": "20250225113837891536411541130",
 *         "vcRelaSerialNo": "",
 *         "vcToWxUserWxId": "wxid_kultbellcta622",
 *         "nPlatformMsgType": 10,
 *         "vcFromWxUserWxId": "weixin",
 *         "vcDownFileSerialNo": "",
 *         "vcToWxUserSerialNo": "7155800509D08EAFBB39A2DCE845347E",
 *         "collection_serial_no": "",
 *         "vcFromWxUserSerialNo": "C196266F837D14E0B693F961BEE37B66",
 *         "reference_message_body": "{\"fromUser\":\"weixin\",\"atList\":\"<msgsource>\\n\\t<tmp_node>\\n\\t\\t<publisher-id></publisher-id>\\n\\t</tmp_node>\\n</msgsource>\\n\",\"toUser\":\"wxid_kultbellcta622\",\"msgContent\":\"<sysmsg type=\\\"dynacfg\\\"><dynacfg><Item key=\\\"AVItemSightDisable\\\">0</Item><Item key=\\\"AffiliatedAcctForgetPwdUrl\\\"><![CDATA[https://weixin110.qq.com/security/newreadtemplate?t=findpasswd/index&from=sec&jmpesc=hjkl]]></Item><Item key=\\\"AffiliatedAcctRegScene\\\">1</Item><Item key=\\\"AffiliatedAcctRegSwitch\\\">1</Item><Item key=\\\"AndroidCleanSnsDb\\\">1</Item><Item key=\\\"AndroidCursorModePercentage\\\">50</Item><Item key=\\\"AndroidDBBackupMaxDBSizeMB\\\">4192</Item><Item key=\\\"AndroidDBBackupPercentage\\\">80</Item><Item key=\\\"AndroidDynamicConfigVer\\\">7</Item><Item key=\\\"AndroidIndoorSensorReport\\\">60,20000,3000,1000,20,8,1;113.3271;23.1322,2;113.3271;23.1321,1;113.3171;23.1404,2;113.3172;23.1403,1;113.3324;23.1342,2;113.3323;23.1342,1;113.3246;23.1000,2;113.3246;23.1000,</Item><Item key=\\\"AndroidNewSyncService3\\\">100</Item><Item key=\\\"AndroidSenseWhereArgs\\\"><![CDATA[100;5000;5000;30000;3600]]></Item><Item key=\\\"AndroidUseUnicodeEmoji\\\">0</Item><Item key=\\\"AndroidUseWorkerAuthCache\\\">101</Item><Item key=\\\"AppleWatchSnsThumbUrlSuffix\\\"><![CDATA[w=80&h=80&s=1]]></Item><Item key=\\\"AppleWatchSnsUrlSuffix\\\"><![CDATA[w=312&h=312&s=1]]></Item><Item key=\\\"AppleWatchSnsUrlSwitch\\\">1</Item><Item key=\\\"ApprovedVideoPrivateProtocolHosts\\\"><![CDATA[vweixinf.tc.qq.com,szwbwxsns.video.qq.com,szxzwxsns.video.qq.com,szzjwxsns.video.qq.com,shwbwxsns.video.qq.com,shxzwxsns.video.qq.com,shzjwxsns.video.qq.com,wxsnsdy.wxs.qq.com,vweixinthumb.tc.qq.com,wxsnsdythumb.wxs.qq.com,wxappthumb.tc.qq.com,wxapp.tc.qq.com,wxsnsdysvp.wxs.qq.com]]></Item><Item key=\\\"AssociateChatRoomLocalCheckMaxMemberCount\\\">500</Item><Item key=\\\"AssociatechatroomPayTransferEntranceGrayscaleStatus\\\">1</Item><Item key=\\\"AutoAddFriendShow\\\">0</Item><Item key=\\\"BBMBindPage\\\">0</Item><Item key=\\\"BBMContactUpload\\\">100</Item><Item key=\\\"BizEnableWebpUrl\\\">http://mmbiz.qpic.cn;https://mmbiz.qlogo.cn</Item><Item key=\\\"BizEnableWxPicUrl\\\"><![CDATA[http://mmbiz.qpic.cn;https://mmbiz.qpic.cn;http://mmbiz.qlogo.cn;https://mmbiz.qlogo.cn]]></Item><Item key=\\\"BizServiceMuteWhitelist\\\"><![CDATA[qqmail,qmessage,tmessage,floatbottle,facebookapp,qqfriend,newsapp,feedsapp,masssendapp,blogapp,voipapp,voicevoipapp,voiceinputapp,googlecontact,fmessage,medianote,qqsync,lbsapp,shakeapp,linkedinplugin,gh_43f2581f6fd6,gh_3dfda90e39d6,gh_f0a92aa7146c,gh_579db1f2cf89,gh_b4af18eac3d5,gh_e087bb5b95e6,weixin,gh_051d9102de63]]></Item><Item key=\\\"C2CAlbumVideoStepConfig\\\">[{\\\"time\\\":\\\"00:00-23:59\\\",\\\"abr\\\":48,\\\"intval\\\":90,\\\"prof\\\":2,\\\"preset\\\":1,\\\"stepbr\\\":1,\\\"conf\\\":[{\\\"dura\\\":\\\"0~120\\\",\\\"wh\\\":\\\"720x1280\\\",\\\"fps\\\":30,\\\"vbr\\\":1600},{\\\"dura\\\":\\\"120~900\\\",\\\"wh\\\":\\\"540x960\\\",\\\"fps\\\":30,\\\"vbr\\\":1200}]}]</Item><Item key=\\\"C2CAudioBitRateL1\\\">48</Item><Item key=\\\"C2CEmojiNotAutoDownloadTimeRange\\\"><![CDATA[00:00-23:59]]></Item><Item key=\\\"C2CImgNotAutoDownloadTimeRange\\\"><![CDATA[18:00-23:30]]></Item><Item key=\\\"C2CImgWINNotAutoDownloadTimeRange\\\"><![CDATA[18:00-23:30]]></Item><Item key=\\\"C2CMaxPreloadVideo\\\">100</Item><Item key=\\\"C2CRecordVideoConfig\\\">[{\\\"time\\\":\\\"00:00-23:59\\\",\\\"abr\\\":\\\"48\\\",\\\"intval\\\":\\\"90\\\",\\\"prof\\\":\\\"2\\\",\\\"preset\\\":\\\"1\\\",\\\"conf\\\":[{\\\"wh\\\":\\\"720x1280\\\",\\\"fps\\\":\\\"30\\\",\\\"vbr\\\":\\\"1600\\\"}]}]</Item><Item key=\\\"C2CSightNotAutoDownloadTimeRange\\\"><![CDATA[00:00-23:59]]></Item><Item key=\\\"C2CVideoBitRateL1\\\">544</Item><Item key=\\\"C2CVideoDownloadPeakTimeRange\\\"><![CDATA[00:00-23:59]]></Item><Item key=\\\"C2CVideoFrameRateL1\\\">24</Item><Item key=\\\"C2CVideoIFrameIntervalL1\\\">90</Item><Item key=\\\"C2CVideoNotAutoDownloadTimeRange\\\"><![CDATA[18:00-23:15]]></Item><Item key=\\\"C2CVideoPresetL1\\\">faster</Item><Item key=\\\"C2CVideoProfileL1\\\">High</Item><Item key=\\\"C2CVideoResolutionL1\\\">640:480</Item><Item key=\\\"CaptureEmojiMaxSize\\\">300</Item><Item key=\\\"ChatImgAutoDownloadMax\\\">1000</Item><Item key=\\\"ChatRoomAdminMinMemberCount\\\">2</Item><Item key=\\\"ChatRoomAdminSwitch\\\">1</Item><Item key=\\\"ChatRoomEnableLive\\\">1</Item><Item key=\\\"ChatRoomEnableLive_PC_Anchor\\\">0</Item><Item key=\\\"ChatRoomEnableLive_PC_Audience\\\">1</Item><Item key=\\\"ChatRoomInviteStartCount\\\">40</Item><Item key=\\\"ChatRoomMigeateDoneTipbarAgainOpenTime\\\">604800</Item><Item key=\\\"ChatRoomMigeateTipbarAgainOpenTime\\\">31536000</Item><Item key=\\\"ChatRoomMigeateTipbarCloseCount\\\">5</Item><Item key=\\\"ChatRoomOwnerModAnnouncement\\\">100</Item><Item key=\\\"ChatRoomOwnerModTopic\\\">100</Item><Item key=\\\"ChatroomDonateSwitch\\\">0</Item><Item key=\\\"ChatroomGlobalSwitch\\\">1</Item><Item key=\\\"CheckBigFileUploadChatroomMemberCountLimit\\\">5000</Item><Item key=\\\"ClientBenchmarkLevel\\\">-1</Item><Item key=\\\"ClientVideoBufferTimeLimit\\\">18:00-23:59;</Item><Item key=\\\"CompressMidPicLevel\\\">52</Item><Item key=\\\"CompressMidPicSize\\\">800</Item><Item key=\\\"CompressPicLevelFor2G\\\">0</Item><Item key=\\\"CompressPicLevelFor3G\\\">0</Item><Item key=\\\"CompressPicLevelForWifi\\\">0</Item><Item key=\\\"CustomEmojiMaxSize\\\">999</Item><Item key=\\\"DNSAdvanceOpen\\\">1</Item><Item key=\\\"DNSAdvanceRelateDomain\\\"><![CDATA[<DNSAdvanceRelateDomain><RelateDomain domain=\\\"mp.weixin.qq.com\\\"><Relate>res.wx.qq.com</Relate></RelateDomain><RelateDomain domain=\\\"pay.weixin.qq.com\\\"><Relate>res.wx.qq.com</Relate></RelateDomain><RelateDomain domain=\\\"wx.tenpay.com\\\"><Relate>res.wx.qq.com</Relate></RelateDomain><RelateDomain domain=\\\"game.weixin.qq.com\\\"><Relate>res.wx.qq.com</Relate><Relate>mmocgame.qpic.cn</Relate><Relate>wximg.gtimg.com</Relate><Relate>wximg.qq.com</Relate><Relate>p.qpic.cn</Relate></RelateDomain></DNSAdvanceRelateDomain>]]></Item><Item key=\\\"DeviceAutoSyncClose\\\">0</Item><Item key=\\\"DeviceAutoSyncDuration\\\">60</Item><Item key=\\\"DeviceAutoSyncInterval\\\">7200</Item><Item key=\\\"DeviceSportsStepInterval\\\">500</Item><Item key=\\\"DeviceTimingSyncBeginTime\\\"><![CDATA[21:30]]></Item><Item key=\\\"DeviceTimingSyncEndTime\\\"><![CDATA[22:00]]></Item><Item key=\\\"DeviceTimingSyncOpen\\\">1</Item><Item key=\\\"DisableSendPat\\\">0</Item><Item key=\\\"DownloadStreamFileSizeThreshold\\\">1048576</Item><Item key=\\\"DwpDownloadSec\\\">1</Item><Item key=\\\"DwpFullDownloadPercent\\\">75</Item><Item key=\\\"DwpPreloadSec\\\">5</Item><Item key=\\\"EmojiUpdateUrlDomain\\\"><![CDATA[emoji.qpic.cn]]></Item><Item key=\\\"EmoticonBrowseGridEmojiCount\\\">3</Item><Item key=\\\"EmoticonBrowseGridEmoticonCount\\\">5</Item><Item key=\\\"EmoticonBrowseGridMaxCount\\\">10</Item><Item key=\\\"EmotionPanelConfigName\\\"><![CDATA[emojipanel-config-jifu.xml]]></Item><Item key=\\\"EmotionRewardTipsLimit\\\"><![CDATA[30,20,60]]></Item><Item key=\\\"EmotionSpringFestivalPendantSwitch\\\">0</Item><Item key=\\\"EnableCDNUploadImg\\\">1</Item><Item key=\\\"EnableEmoticonExternUrl\\\">7</Item><Item key=\\\"EnableFavPicTranslation\\\">1</Item><Item key=\\\"EnableForgroundService\\\">101</Item><Item key=\\\"EnableFtsFastIndexing\\\">1</Item><Item key=\\\"EnableFtsMsgMemSearch\\\">1</Item><Item key=\\\"EnableJPEGDyncmicETL\\\">1</Item><Item key=\\\"EnableMMBitmapFactoryProb\\\">101</Item><Item key=\\\"EnableMigrateToWeChatForPC\\\">1</Item><Item key=\\\"EnableNewOCRTranslation\\\">1</Item><Item key=\\\"EnableSessionPicTranslation\\\">1</Item><Item key=\\\"EnableSnsImageDownload\\\">1</Item><Item key=\\\"EnableSnsPicTranslation\\\">1</Item><Item key=\\\"EnableVoiceVoipFromPlugin\\\">1</Item><Item key=\\\"EnableWebviewPicTranslation\\\">1</Item><Item key=\\\"ExposeH5Switch\\\">1</Item><Item key=\\\"ExtFunctionSwitchEntry\\\">0</Item><Item key=\\\"F2FOpenTime\\\">15</Item><Item key=\\\"FileClickdownloadSizeByteLimitInWifi\\\">10485760</Item><Item key=\\\"FileClickdownloadSizeByteLimitNotInWifi\\\">1048576</Item><Item key=\\\"FinderAudioTrackLoadDuration\\\">10</Item><Item key=\\\"FinderCommentAutoExpandSubcommentList\\\">1</Item><Item key=\\\"FinderCommentLineWrapLimit\\\">10</Item><Item key=\\\"FinderCommentListPreloadCount\\\">5</Item><Item key=\\\"FinderCommentNickNameMaxLength\\\">6</Item><Item key=\\\"FinderCommentShowBlacklist\\\">1</Item><Item key=\\\"FinderCommentTextLimit\\\">400</Item><Item key=\\\"FinderEnableShowWXMentionSwitchEntry\\\">1</Item><Item key=\\\"FinderExtendedReadingPrefix\\\"><![CDATA[https://mp.weixin.qq.com;https://game.weixin.qq.com;https://support.weixin.qq.com;http://m.v.qq.com;https://m.v.qq.com]]></Item><Item key=\\\"FinderFastEnterTime\\\">0</Item><Item key=\\\"FinderFeedCompressPicLevel\\\">80</Item><Item key=\\\"FinderFeedCompressResolution\\\">2048*2048</Item><Item key=\\\"FinderFeedNewPostThumbMaxSize\\\">100</Item><Item key=\\\"FinderFeedPostCoverMaxSize\\\">1024</Item><Item key=\\\"FinderGetLiveMsgDisasterRetryInterval\\\">5</Item><Item key=\\\"FinderHeadCompressPicLevel\\\">70</Item><Item key=\\\"FinderHeadCompressResolution\\\">1080*1080</Item><Item key=\\\"FinderHeadIconFormat\\\">{\\\"small\\\":\\\"64\\\",\\\"medium\\\":\\\"132\\\",\\\"origin\\\":\\\"0\\\"}</Item><Item key=\\\"FinderLimitedModeConfig\\\">98</Item><Item key=\\\"FinderLimitedYoungContentOpenShareList\\\">0</Item><Item key=\\\"FinderLiveEncourageAdDurationInterval\\\">{\\\"min\\\":15, \\\"max\\\":60}</Item><Item key=\\\"FinderLiveFeedbackNotInterestedSwitch\\\">1</Item><Item key=\\\"FinderLiveJoinLiveInvisiableSwitch\\\">0</Item><Item key=\\\"FinderLiveLotteryPromptAttendTypeCompatibility\\\">0</Item><Item key=\\\"FinderLiveRoomDomainList\\\">aliycdn.flv.wxqcloud.qq.com;hscdn.flv.wxqcloud.qq.com;hw.flv.wxqcloud.qq.com;csycdn.flv.wxqcloud.qq.com;voipfinderliveplay.wxqcloud.qq.com;voipfinderliveplay1.wxqcloud.qq.com;voipfinderrdsliveplay.wxqcloud.qq.com;voipfinderrdsliveplay1.wxqcloud.qq.com;voipfinderrdsliveplay2.wxqcloud.qq.com;voipfinderrdsliveplay3.wxqcloud.qq.com;voipfinderspamliveplay.wxqcloud.qq.com;voipfindereventsliveplay.wxqcloud.qq.com;voipfinderliveplaythird.wxqcloud.qq.com;voipfinderliveplaythirdtest.wxqcloud.qq.com;pull-m1.wxlivecdn.com</Item><Item key=\\\"FinderLiveSyncExtraInfoMergeInterval\\\">1</Item><Item key=\\\"FinderLiveSyncExtraInfoMinSleepInterval\\\">10</Item><Item key=\\\"FinderLiveTopCommentDisplayTimeSec\\\">10</Item><Item key=\\\"FinderLiveVotingSwitch\\\">1</Item><Item key=\\\"FinderMaxTopicCount\\\">1000</Item><Item key=\\\"FinderMediaPublishTextLimit\\\">1000</Item><Item key=\\\"FinderMentionInputStopTokenList\\\"><![CDATA[\\\\n_\\\\s_\\\\t_#_@_,_，_。_！_￥_%_……_*_（_）_—_`_~_!_$_^_(_)_=_【_】_；_「_」_、_|_[_]_;_'_,_/_?_{_}_\\\"_:_<_>_:_：_“_”_《_》_？_\\\\\\\\’]]></Item><Item key=\\\"FinderMiaoJianUniversalLink\\\"><![CDATA[https://miaojian.wxqcloud.qq.com/vfromwx/createvideo?scene=channels]]></Item><Item key=\\\"FinderMineTabProfileEntranceDisplayType\\\">1</Item><Item key=\\\"FinderMineTabProfileEntranceShouldClose\\\">0</Item><Item key=\\\"FinderNearbyLiveSwitch\\\">1</Item><Item key=\\\"FinderNewFollowTipsEnterInterval\\\">0</Item><Item key=\\\"FinderNewLiveEntryOnTopStorySwitch\\\">0</Item><Item key=\\\"FinderNewLiveEntrySwitch\\\">1</Item><Item key=\\\"FinderNewMsgTipsEnterInterval\\\">0</Item><Item key=\\\"FinderOpenShareListFeedsIgnoreLimitedSwitch\\\">1</Item><Item key=\\\"FinderPersonalMsgMaxGreetCount\\\">1</Item><Item key=\\\"FinderPoiJumpTopicSwitch\\\">1</Item><Item key=\\\"FinderPostEnableSelectRedPacket\\\">1</Item><Item key=\\\"FinderPostOriginRuleUrl\\\"><![CDATA[https://support.weixin.qq.com/cgi-bin/mmsupportacctnodeweb-bin/pages/GzdzwPjCFZDCZkmI]]></Item><Item key=\\\"FinderPostShortValidTokenList\\\"><![CDATA[《_》_\\\\\\\"_“_”__:_：_+_?_？_%_℃_ _]]></Item><Item key=\\\"FinderPostWithMpUrlSwitch\\\">1</Item><Item key=\\\"FinderPrefetchFilterMinFeedCount\\\">1</Item><Item key=\\\"FinderPrefetchStreamSwitch\\\">0</Item><Item key=\\\"FinderProfileBgImgCompressPicLevel\\\">70</Item><Item key=\\\"FinderProfileBgImgCompressResolution\\\">1080*1080</Item><Item key=\\\"FinderProfileCoverSettingShowEntrance\\\">1</Item><Item key=\\\"FinderProfileEnableMJTemplate\\\">1</Item><Item key=\\\"FinderProfileEnableRedPacketEvent\\\">1</Item><Item key=\\\"FinderProfileMainTabEmojiRowCount\\\">2</Item><Item key=\\\"FinderProfileMainTabEmoticonRowCount\\\">3</Item><Item key=\\\"FinderProfileProductWindowSwitch\\\">1</Item><Item key=\\\"FinderProfileUseNewHeaderLogic\\\">1</Item><Item key=\\\"FinderPublishVideoConfig\\\">[{\\\"time\\\":\\\"00:00-23:59\\\",\\\"abr\\\":\\\"192\\\",\\\"intval\\\":\\\"90\\\",\\\"prof\\\":\\\"2\\\",\\\"preset\\\":\\\"1\\\",\\\"conf\\\":[{\\\"wh\\\":\\\"1080x2320\\\",\\\"fps\\\":\\\"60\\\",\\\"vbr\\\":\\\"4000\\\"}]}]</Item><Item key=\\\"FinderRecordVideoConfig\\\">[{\\\"time\\\":\\\"00:00-23:59\\\",\\\"abr\\\":\\\"192\\\",\\\"intval\\\":\\\"90\\\",\\\"prof\\\":\\\"2\\\",\\\"preset\\\":\\\"1\\\",\\\"conf\\\":[{\\\"wh\\\":\\\"1080x2320\\\",\\\"fps\\\":\\\"60\\\",\\\"vbr\\\":\\\"4000\\\"}]}]</Item><Item key=\\\"FinderRedDotSyncPathList\\\"><![CDATA[TLPersonalCenter]]></Item><Item key=\\\"FinderSelectVideoMaxDuration\\\">60</Item><Item key=\\\"FinderShareDetailCommentButtonShow\\\">0</Item><Item key=\\\"FinderShareDetailCommentListShow\\\">0</Item><Item key=\\\"FinderShowOriginalCertificationUrl\\\"><![CDATA[http://channels.weixin.qq.com/mobile/original_plan.html#/]]></Item><Item key=\\\"FinderShowWhatsNew\\\">0</Item><Item key=\\\"FinderSuggestTagViewShow\\\">0</Item><Item key=\\\"FinderThumbCompressResolution\\\">1080*1080</Item><Item key=\\\"FinderThumbUseLowCompressMethod\\\">0</Item><Item key=\\\"FinderTimelineEntry\\\">1</Item><Item key=\\\"FinderTopicTextLimit\\\">1000</Item><Item key=\\\"FinderVideoDownloadSec\\\">1</Item><Item key=\\\"FinderVideoMaxLimitDuration\\\">60</Item><Item key=\\\"FinderVideoPreloadMinBytes\\\">2096128</Item><Item key=\\\"FinderVideoPreloadSec\\\">5</Item><Item key=\\\"FinderWXProfileAuthInfoSwitch\\\">0</Item><Item key=\\\"FinderWxNameCardFinderAndRecentLikeFinderClose\\\">0</Item><Item key=\\\"FoldTextLineNum\\\">12</Item><Item key=\\\"FoldTextScreenThreshold\\\">1.2</Item><Item key=\\\"FtsFastIndexingThd\\\">30</Item><Item key=\\\"FtsGroupSortActiveDays\\\">14</Item><Item key=\\\"GetV6StrangerReqInfoMaxCount\\\">10</Item><Item key=\\\"HideGameCenter\\\">0</Item><Item key=\\\"IMEmoji\\\"><![CDATA[{\\\"default\\\":[\\\"/:strong\\\",\\\"[Worship]\\\",\\\"/:heart\\\",\\\"[Facepalm]\\\",\\\"/::D\\\",\\\"[Doge]\\\",\\\"[666]\\\",\\\"/:hug\\\"],\\\"newlife\\\":[\\\"[Hey]\\\",\\\"[Facepalm]\\\",\\\"[666]\\\",\\\"[Wow]\\\",\\\"[Doge]\\\",\\\"/:strong\\\",\\\"/:heart\\\"]}]]></Item><Item key=\\\"InputLimitFavFileSize\\\">209715200</Item><Item key=\\\"InputLimitFavImageSize\\\">209715200</Item><Item key=\\\"InputLimitFavNotesSize\\\">1073741824</Item><Item key=\\\"InputLimitFavText\\\">10000</Item><Item key=\\\"InputLimitFavVideoSize\\\">209715200</Item><Item key=\\\"InputLimitFavVoiceLength\\\">3600</Item><Item key=\\\"InputLimitFileSize\\\">26214400</Item><Item key=\\\"InputLimitForbiddenChar\\\"><![CDATA[<>/]]></Item><Item key=\\\"InputLimitGroupFileTotalSize\\\">5368709120</Item><Item key=\\\"InputLimitSNSObjectText\\\">2000</Item><Item key=\\\"InputLimitSendAppMsgEmotionBufSize\\\">10485760</Item><Item key=\\\"InputLimitSendEmotionBufSize\\\">1048576</Item><Item key=\\\"InputLimitSendEmotionWidth\\\">1024</Item><Item key=\\\"InputLimitSendFileSize\\\">1073741824</Item><Item key=\\\"InputLimitSessionShortVideoBufSize\\\">2097152</Item><Item key=\\\"InputLimitSessionTextMsg\\\">16384</Item><Item key=\\\"InputLimitTextVisualHeight\\\">3000</Item><Item key=\\\"InputLimitVideoSize\\\">1073741824</Item><Item key=\\\"IntelligenceExternalInfo\\\"><![CDATA[{\\\"wxid_wi_1d142z0zdj03\\\":{\\\"InteractiveMode\\\":\\\"2\\\",\\\"MMBizMenu\\\":{\\\"button_list\\\":[{\\\"id\\\":1,\\\"type\\\":2,\\\"name\\\":\\\"体验满血版 DeepSeek R1\\\",\\\"key\\\":\\\"yuanbao\\\",\\\"value\\\":\\\"https://mp.weixin.qq.com/mp/readtemplate?t=yuanbao/jump&yuanbao_from=menu\\\"}]},\\\"toolbar_flag\\\":0}}]]></Item><Item key=\\\"IntelligenceServiceAgreement\\\"><![CDATA[{\\\"wxid_wi_1d142z0zdj03\\\":{\\\"service_agreement\\\":[{\\\"title\\\":\\\"隐私政策\\\",\\\"url\\\":\\\"https://privacy.qq.com/document/preview/218652c4f1384400ad46fdcb8238cfae\\\",\\\"version\\\":1,\\\"id\\\":1},{\\\"title\\\":\\\"服务协议\\\",\\\"url\\\":\\\"https://rule.tencent.com/rule/202501020002\\\",\\\"version\\\":1,\\\"id\\\":2}]}}]]></Item><Item key=\\\"Interval4ShowPmsDialog\\\">3600000</Item><Item key=\\\"InvalidateTextFoldLineNum\\\">5</Item><Item key=\\\"InviteFriendsControlFlags\\\">0</Item><Item key=\\\"InviteFriendsInviteFlags\\\">0</Item><Item key=\\\"InviteFriendsWordingFlags\\\">65535</Item><Item key=\\\"JDEntranceConfigActivityId\\\">20140618</Item><Item key=\\\"JDEntranceConfigFindTabShowRedDot\\\">1</Item><Item key=\\\"JDEntranceConfigIconUrl\\\"><![CDATA[http://mmbiz.qpic.cn/mmbiz/PiajxSqBRaEKjfmXY7WKX3GRpgjCZfVk1epPED3FQZibRQFPaYVTZ6wkotNOicoHmuPOnkVtJXQ4pPD94PuEHjH2g/0]]></Item><Item key=\\\"JDEntranceConfigJumpUrl\\\"><![CDATA[https://m.jd.com/?sceneval_mqq=wx1]]></Item><Item key=\\\"JDEntranceConfigJumpWeAppUsername\\\"><![CDATA[gh_45b306365c3d@app]]></Item><Item key=\\\"JDEntranceConfigName\\\">购物</Item><Item key=\\\"LBSShowBindPhone\\\">1</Item><Item key=\\\"LifeAppLatestVersionValue\\\">20</Item><Item key=\\\"LifeAppPrefetchTimeThreshold\\\">259200</Item><Item key=\\\"LimitationOnSight\\\">{\\\"kSightLimitationMaxDurationKey\\\": {\\\"default\\\": 300,\\\"c2c\\\":3600,\\\"sns\\\": 1800}}</Item><Item key=\\\"ListenEntry\\\">0</Item><Item key=\\\"ListenWhiteList\\\">0</Item><Item key=\\\"MMBatchModContactTypeFlag\\\">1</Item><Item key=\\\"MMBatchModContactTypeMaxNumForClient\\\">30</Item><Item key=\\\"MMBatchModContactTypeMaxNumForServer\\\">30</Item><Item key=\\\"MMDirectCreateAssociateChatRoomSwitch\\\">1</Item><Item key=\\\"MMEnableChatRoomRemark\\\">1</Item><Item key=\\\"MMForwardUpgradeChatRoomSwitch\\\">0</Item><Item key=\\\"MMIotSendMsgFileSizeLimit\\\">100</Item><Item key=\\\"MMSocialBlackListFlag\\\">1</Item><Item key=\\\"MMUxAdLog2GSendSize\\\">20480</Item><Item key=\\\"MMUxAdLog3GSendSize\\\">30720</Item><Item key=\\\"MMUxAdLogMaxExceptionTime\\\">43200</Item><Item key=\\\"MMUxAdLogMaxRandTime\\\">300</Item><Item key=\\\"MMUxAdLogMinRandTime\\\">60</Item><Item key=\\\"MMUxAdLogWifiSendSize\\\">51200</Item><Item key=\\\"MPAppAuthManagementSwitch\\\">1</Item><Item key=\\\"MsgResendFileUploadContinueMaxCount\\\">0</Item><Item key=\\\"MsgSyncSwitch\\\">0</Item><Item key=\\\"MultitalkBlockCaller\\\">0</Item><Item key=\\\"MultitalkBlockReceiver\\\">0</Item><Item key=\\\"NeedClearLBSCahce\\\">0</Item><Item key=\\\"NewLifeRedDotSyncPathList\\\"><![CDATA[FinderEntrance]]></Item><Item key=\\\"NewOCRTranslationSupportUserLanguage\\\"><![CDATA[zh_CN;en;zh_TW;zh_HK;th;vi;pt;id;es;ar;ru;pl;hi;ja;it;ko;ms;he;tr;de;fr]]></Item><Item key=\\\"NewVoiceInputOpenSwitch\\\">1</Item><Item key=\\\"OnlyScanRunningService\\\">0</Item><Item key=\\\"OpenF2F\\\">1</Item><Item key=\\\"OpenIMC2BPayTransferMeueGrayscaleStatus\\\">1</Item><Item key=\\\"OpenImKefuContactUpdateInterval_Second\\\">86400</Item><Item key=\\\"PCFinderEntryExposeReportInterval\\\">300</Item><Item key=\\\"PCFinderEntryXlabSwitch\\\">0</Item><Item key=\\\"PCFinderRecommendPreloadInterval\\\">21600</Item><Item key=\\\"PatSuffixMaxByte\\\">20</Item><Item key=\\\"PicTranslationSupportUserLanguage\\\"><![CDATA[zh_CN;en;zh_TW;zh_HK;th;vi;pt;id;es;ar;ru;pl;hi;ja;it;ko;ms;he;tr;de;fr]]></Item><Item key=\\\"PostLinkVideoPageLiteapp\\\">eyJhcHBJZCI6Ind4YWxpdGU0MDEwOGRjM2U3NDkxYmFjNzJhODZmMzg0YmM2Njc5YyIsInBhdGgiOiJwYWdlcy9maWxtLWxpc3QvZW50cnkiLCJxdWVyeSI6IiJ9</Item><Item key=\\\"PreLoadVideoExpiredTime\\\">3</Item><Item key=\\\"ProgJPEGDownloadSizeLimit\\\">35</Item><Item key=\\\"ProgJPEGUploadSizeLimit2G\\\">100</Item><Item key=\\\"ProgJPEGUploadSizeLimit3G\\\">100</Item><Item key=\\\"ProgJPEGUploadSizeLimitWifi\\\">100</Item><Item key=\\\"PublicWifiAnnotation\\\"><![CDATA[微信连Wi-Fi]]></Item><Item key=\\\"PublicWifiAnnotationExpire\\\">86400</Item><Item key=\\\"PublicWifiAnnotationSwitch\\\">3</Item><Item key=\\\"PublishMegaVideoConfig\\\">[{\\\"time\\\":\\\"00:00-23:59\\\",\\\"abr\\\":\\\"192\\\",\\\"intval\\\":\\\"90\\\",\\\"prof\\\":\\\"2\\\",\\\"preset\\\":\\\"1\\\",\\\"conf\\\":[{\\\"wh\\\":\\\"1080x2320\\\",\\\"fps\\\":\\\"60\\\",\\\"vbr\\\":\\\"4000\\\"}]}]</Item><Item key=\\\"QQAssistantInfoExpireTime\\\">86400</Item><Item key=\\\"RecordMegaVideoConfig\\\">[{\\\"time\\\":\\\"00:00-23:59\\\",\\\"abr\\\":\\\"192\\\",\\\"intval\\\":\\\"90\\\",\\\"prof\\\":\\\"2\\\",\\\"preset\\\":\\\"1\\\",\\\"conf\\\":[{\\\"wh\\\":\\\"1080x2320\\\",\\\"fps\\\":\\\"60\\\",\\\"vbr\\\":\\\"4000\\\"}]}]</Item><Item key=\\\"ReportRingBackRequestInfoMaxCount\\\">10</Item><Item key=\\\"RoomLimitWatchMemberMax\\\">4</Item><Item key=\\\"SIGHTAutoLoadNetwork\\\">1</Item><Item key=\\\"SIGHTCannotTransmitForFav\\\">0</Item><Item key=\\\"SNSUploadLargeFileAPISwitch\\\">1</Item><Item key=\\\"SessionPicTranslationSupportUserLanguage\\\"><![CDATA[zh_CN;en;zh_TW;zh_HK;th;vi;pt;id;es;ar;ru;pl;hi;ja;it;ko;ms;he;tr;de;fr]]></Item><Item key=\\\"SetCareModeQuickCallContactReqInfoMaxCount\\\">10</Item><Item key=\\\"Show3rdTools\\\">0</Item><Item key=\\\"ShowAPPSuggestion\\\">0</Item><Item key=\\\"ShowDesignerEmoji\\\">1</Item><Item key=\\\"ShowDownloadTipsTimesForTMAssist\\\">6</Item><Item key=\\\"ShowNewMsgTips\\\">0</Item><Item key=\\\"ShowOpenImInGroup\\\">1</Item><Item key=\\\"ShowPermissionDialog\\\">1</Item><Item key=\\\"ShowPersonalEmotion\\\">1</Item><Item key=\\\"ShowRevokeMsgEntry\\\">1</Item><Item key=\\\"ShowSecurityEntry\\\">1</Item><Item key=\\\"ShowShakeTV\\\">0</Item><Item key=\\\"ShowTurnOnFriendVerificationBannerSwitch\\\">0</Item><Item key=\\\"ShowTurnOnFriendVerificationSysmsgSwitch\\\">0</Item><Item key=\\\"ShowUnbindPhone\\\">0</Item><Item key=\\\"SightForwardEnable\\\">1</Item><Item key=\\\"SightRecordHighEndCpuList\\\">[\\\"Qualcomm Technologies, Inc MSM8994\\\", \\\"Qualcomm Technologies, Inc MSM8996\\\", \\\"Qualcomm Technologies, Inc MSM8996pro\\\", \\\"Hisilicon Kirin 955\\\"]</Item><Item key=\\\"SignallingMask\\\">SendMsg,QRCode</Item><Item key=\\\"SilentDownloadApkAtWiFi\\\">0</Item><Item key=\\\"SnSPreLoadVideoExpiredTime\\\">3</Item><Item key=\\\"SnsAdAtFriendRedDot\\\">1</Item><Item key=\\\"SnsAdNativePageForwardFeedPreloadPageCount\\\">1</Item><Item key=\\\"SnsAdNativePageForwardFeedPreloadResourceCount\\\">2</Item><Item key=\\\"SnsAdNativePageNormalFeedPreloadPageCount\\\">2</Item><Item key=\\\"SnsAdNativePageNormalFeedPreloadResourceCount\\\">3</Item><Item key=\\\"SnsAdNativePagePreloadStreamMedia\\\">0</Item><Item key=\\\"SnsAdNotifyCommentTimeLimit\\\">1814400</Item><Item key=\\\"SnsAdNotifyLikeTimeLimit\\\">1814400</Item><Item key=\\\"SnsAdNotifyLimit\\\">40</Item><Item key=\\\"SnsAlbumVideoConfig\\\">[{\\\"time\\\":\\\"00:00-23:59\\\",\\\"abr\\\":\\\"48\\\",\\\"intval\\\":\\\"90\\\",\\\"prof\\\":\\\"2\\\",\\\"preset\\\":\\\"1\\\",\\\"conf\\\":[{\\\"wh\\\":\\\"720x1280\\\",\\\"fps\\\":\\\"30\\\",\\\"vbr\\\":\\\"2000\\\"}]}]</Item><Item key=\\\"SnsBigImgPreloadingHistoryClickRatioForIOS\\\"><![CDATA[00:00-19:30-50;23:00-23:59-50]]></Item><Item key=\\\"SnsCommentMaxSize\\\">1000</Item><Item key=\\\"SnsCompressPicLevelFor2G\\\">0</Item><Item key=\\\"SnsCompressPicLevelFor3G\\\">0</Item><Item key=\\\"SnsCompressPicLevelForWifi\\\">0</Item><Item key=\\\"SnsDragon2024Enabled\\\">0</Item><Item key=\\\"SnsDragon2024PostRedDot\\\">1</Item><Item key=\\\"SnsGroupImageDownloadSwitch\\\">0</Item><Item key=\\\"SnsHEVCSwitch\\\">1</Item><Item key=\\\"SnsImgDownloadConcurrentCountForNotWifi\\\"><![CDATA[00:00-19:30-1-3;19:30-23:00-1-2;23:00-23:59-1-3]]></Item><Item key=\\\"SnsImgDownloadConcurrentCountForWifi\\\"><![CDATA[00:00-19:30-3-6;19:30-23:00-1-3;23:00-23:59-3-6]]></Item><Item key=\\\"SnsImgPreLoadingAroundTimeLimit\\\">20:00-23:59;00:00-00:30</Item><Item key=\\\"SnsImgPreLoadingBigImage\\\">1</Item><Item key=\\\"SnsImgPreLoadingInterval\\\">20</Item><Item key=\\\"SnsImgPreLoadingSmallImage\\\">1</Item><Item key=\\\"SnsImgPreLoadingTimeLimit\\\"><![CDATA[20:00-23:59;00:00-00:30]]></Item><Item key=\\\"SnsMaxPreloadVideo\\\">100</Item><Item key=\\\"SnsPreLoadingVideo\\\">1</Item><Item key=\\\"SnsRabbit2023AdEnabled\\\">0</Item><Item key=\\\"SnsRabbit2023Enabled\\\">0</Item><Item key=\\\"SnsRecordVideoConfig\\\">[{\\\"time\\\":\\\"00:00-23:59\\\",\\\"abr\\\":\\\"48\\\",\\\"intval\\\":\\\"90\\\",\\\"prof\\\":\\\"2\\\",\\\"preset\\\":\\\"1\\\",\\\"conf\\\":[{\\\"wh\\\":\\\"720x1280\\\",\\\"fps\\\":\\\"30\\\",\\\"vbr\\\":\\\"2000\\\"}]}]</Item><Item key=\\\"SnsSightAutoPlay\\\">1</Item><Item key=\\\"SnsSightNoAutoDownload\\\"><![CDATA[20160207170000,20160208030000]]></Item><Item key=\\\"SnsSightNotAutoDownloadTimeRange\\\"><![CDATA[00:00-23:59]]></Item><Item key=\\\"SnsSightShareWeiShiEntrance\\\">0</Item><Item key=\\\"SnsSync2FacebookEntrance\\\">1</Item><Item key=\\\"SnsTiger2022Enabled\\\">0</Item><Item key=\\\"SnsTiger2022LivePopUp\\\">0</Item><Item key=\\\"SnsTiger2022ReplySpecialEffectsEnabled\\\">0</Item><Item key=\\\"SnsTimelineLikeCommentStoryBubbleSwitch\\\">1</Item><Item key=\\\"SnsUseWeiShiShootingEntranceDisplayTimes\\\">0</Item><Item key=\\\"SnsUserPageContinuePullCnt\\\">5</Item><Item key=\\\"SnsVideoDefaultTemplate\\\">{\\\"tpls\\\":[{\\\"id\\\":\\\"mv_blurtest\\\",\\\"desc_ver\\\": 2000000014}]}</Item><Item key=\\\"SnsVideoDownloadSec\\\">1</Item><Item key=\\\"SnsVideoFullDownloadPercent\\\">75</Item><Item key=\\\"SnsVideoMaxLimitDuration\\\">300</Item><Item key=\\\"SnsVideoPreloadSec\\\">3</Item><Item key=\\\"SnsVideoTemplateCdnDownloadDisabled\\\">0</Item><Item key=\\\"SnsVideoTemplateEnabled\\\">1</Item><Item key=\\\"SnsVideoTemplateMiaojianRecommendEnabled\\\">1</Item><Item key=\\\"SnsVideoTemplateUseSameTemplateEnabled\\\">1</Item><Item key=\\\"SnsVideoTemplateVideoConfig\\\">[{\\\"time\\\":\\\"00:00-23:59\\\",\\\"abr\\\":\\\"48\\\",\\\"intval\\\":\\\"90\\\",\\\"prof\\\":\\\"2\\\",\\\"preset\\\":\\\"1\\\",\\\"conf\\\":[{\\\"wh\\\":\\\"720x1280\\\",\\\"fps\\\":\\\"30\\\",\\\"vbr\\\":\\\"2000\\\"}]}]</Item><Item key=\\\"SnsVideoTmplTipsConfig\\\">{\\\"activities\\\":[{\\\"minDisplayInterval\\\":\\\"0\\\",\\\"maasEventType\\\":\\\"1\\\",\\\"beginTime\\\":\\\"1707408000\\\",\\\"endTime\\\":\\\"1707494399\\\",\\\"maxDisplayDuration\\\":\\\"5\\\",\\\"maxDisplayTimesPerDay\\\":\\\"1\\\",\\\"tips\\\":{\\\"en\\\":\\\"New Year Movie\\\",\\\"zh_HK\\\":\\\"新春氛圍視頻\\\",\\\"zh_CN\\\":\\\"新春氛围视频\\\",\\\"zh_TW\\\":\\\"新春氛圍視頻\\\"}},{\\\"minDisplayInterval\\\":\\\"0\\\",\\\"maasEventType\\\":\\\"1\\\",\\\"beginTime\\\":\\\"1707494400\\\",\\\"endTime\\\":\\\"1707580799\\\",\\\"maxDisplayDuration\\\":\\\"5\\\",\\\"maxDisplayTimesPerDay\\\":\\\"1\\\",\\\"tips\\\":{\\\"en\\\":\\\"New Year Movie\\\",\\\"zh_HK\\\":\\\"新春氛圍視頻\\\",\\\"zh_CN\\\":\\\"新春氛围视频\\\",\\\"zh_TW\\\":\\\"新春氛圍視頻\\\"}},{\\\"minDisplayInterval\\\":\\\"0\\\",\\\"maasEventType\\\":\\\"1\\\",\\\"beginTime\\\":\\\"1707580800\\\",\\\"endTime\\\":\\\"1707667199\\\",\\\"maxDisplayDuration\\\":\\\"5\\\",\\\"maxDisplayTimesPerDay\\\":\\\"1\\\",\\\"tips\\\":{\\\"en\\\":\\\"New Year Movie\\\",\\\"zh_HK\\\":\\\"新春氛圍視頻\\\",\\\"zh_CN\\\":\\\"新春氛围视频\\\",\\\"zh_TW\\\":\\\"新春氛圍視頻\\\"}}]}</Item><Item key=\\\"SnsWXPCSwitch\\\">1</Item><Item key=\\\"SnsWxWorkPermissionEntrance\\\">1</Item><Item key=\\\"SoSoMapInstallUrl\\\"><![CDATA[http://mapdownload.map.qq.com/?key=wx&referer=wx1&channel=00008]]></Item><Item key=\\\"StatusAllowComment\\\">1</Item><Item key=\\\"StatusCommentFetchFriendCard\\\">1</Item><Item key=\\\"StatusCommentFetchFriendProfile\\\">1</Item><Item key=\\\"StatusCommentFetchNotify\\\">1</Item><Item key=\\\"StatusCommentFetchSelfAddrbook\\\">1</Item><Item key=\\\"StatusCommentFetchSelfCard\\\">1</Item><Item key=\\\"StatusDeleteBusiBuf\\\">0</Item><Item key=\\\"StatusEntry\\\">1</Item><Item key=\\\"StatusFriendsButtonStyleConfig\\\">{\\\"style\\\":2, \\\"durations\\\":[\\\"20:00-19:59\\\"]}</Item><Item key=\\\"StatusNotifyForbidEnterSession\\\">0</Item><Item key=\\\"StatusSetBusiBufMaxByteSize\\\">61440</Item><Item key=\\\"StatusUseBypassMsg\\\">2</Item><Item key=\\\"StoryEditVideoBgmSwitch\\\">1</Item><Item key=\\\"StoryEntranceShouldShowInTimelineOfUnreadCount\\\">1</Item><Item key=\\\"StoryRecordUnderiPhone6sVideoConfig\\\">[{\\\"time\\\":\\\"20:00-22:30\\\",\\\"abr\\\":\\\"48\\\",\\\"intval\\\":\\\"24\\\",\\\"prof\\\":\\\"2\\\",\\\"preset\\\":\\\"1\\\",\\\"conf\\\":[{\\\"wh\\\":\\\"720x1280\\\",\\\"fps\\\":\\\"30\\\",\\\"vbr\\\":\\\"3500\\\"}]}]</Item><Item key=\\\"StoryRecordVideoConfig\\\">[{\\\"time\\\":\\\"20:00-22:30\\\",\\\"abr\\\":\\\"48\\\",\\\"intval\\\":\\\"24\\\",\\\"prof\\\":\\\"2\\\",\\\"preset\\\":\\\"1\\\",\\\"conf\\\":[{\\\"wh\\\":\\\"720x1280\\\",\\\"fps\\\":\\\"30\\\",\\\"vbr\\\":\\\"3500\\\"}]}]</Item><Item key=\\\"StoryShouldShowEntraceInChatRoom\\\">1</Item><Item key=\\\"StoryShouldShowEntraceInFavorFriend\\\">1</Item><Item key=\\\"StoryShouldShowEntranceInTimelineOfTimeDuration\\\">60</Item><Item key=\\\"TextStatusShowRedEnvelopeEntry\\\">1</Item><Item key=\\\"ThresholdToCleanLocation\\\">0</Item><Item key=\\\"TopRightMenu1\\\"><![CDATA[<Menu id=\\\"1\\\" shownew=\\\"0\\\" seq=\\\"3\\\" order=\\\"200\\\"/>]]></Item><Item key=\\\"TopRightMenu10\\\"><![CDATA[<Menu id=\\\"10\\\" shownew=\\\"0\\\" seq=\\\"3\\\" order=\\\"300\\\"/>]]></Item><Item key=\\\"TopRightMenu2\\\"><![CDATA[<Menu id=\\\"2\\\" shownew=\\\"0\\\" seq=\\\"3\\\" order=\\\"100\\\"/>]]></Item><Item key=\\\"TopRightMenu20\\\"><![CDATA[<Menu id=\\\"20\\\" shownew=\\\"0\\\" seq=\\\"4\\\" order=\\\"700\\\"/>]]></Item><Item key=\\\"TopRightMenu22\\\"><![CDATA[<Menu id=\\\"22\\\" shownew=\\\"1\\\" seq=\\\"1\\\" order=\\\"900\\\"/>]]></Item><Item key=\\\"TopRightMenu23\\\"><![CDATA[<Menu id=\\\"23\\\" shownew=\\\"1\\\" seq=\\\"1\\\" order=\\\"1000\\\"/>]]></Item><Item key=\\\"TopRightMenu24\\\"><![CDATA[<Menu id=\\\"24\\\" shownew=\\\"1\\\" seq=\\\"1\\\" order=\\\"1100\\\"/>]]></Item><Item key=\\\"TopRightMenus\\\"><![CDATA[<TopRightMenus> <Menu id=\\\"2\\\" shownew=\\\"0\\\" seq=\\\"3\\\"/><Menu id=\\\"1\\\" shownew=\\\"0\\\" seq=\\\"3\\\"/><Menu id=\\\"10\\\" shownew=\\\"0\\\" seq=\\\"3\\\"/><Menu id=\\\"20\\\" shownew=\\\"0\\\" seq=\\\"4\\\"/></TopRightMenus>]]></Item><Item key=\\\"TrustedFriendFuncEntry\\\">1</Item><Item key=\\\"TypingDurationSecond\\\">30</Item><Item key=\\\"TypingInterval\\\">15</Item><Item key=\\\"TypingTrigger\\\">-1</Item><Item key=\\\"UseAesGcmSessionKeyCgiList\\\"><![CDATA[302,681,138,986,996,771,10910,3565,214,251,3976,522,721,10072,6681,3899,551,1133,11842,6658,212,6238,211,8815,5971,4042,223,683,718,182,3763,6611,159,6619,8755,3520,8560,3980,427,235]]></Item><Item key=\\\"UseAesGcmSessionKeySwitch\\\">0</Item><Item key=\\\"UseOptImage\\\">100</Item><Item key=\\\"UseOptImageRecv\\\">100</Item><Item key=\\\"UseVideoHash\\\">100,100,30</Item><Item key=\\\"VOIPBlockIgnoreButton\\\">1</Item><Item key=\\\"VOIPCallType\\\">1</Item><Item key=\\\"VOIPCameraSwitch\\\">1</Item><Item key=\\\"VOIPShortcutAutoadd\\\">2</Item><Item key=\\\"VideoDownloadH265Flag\\\">31</Item><Item key=\\\"VideoDownloadVcodec2Flag\\\">31</Item><Item key=\\\"VoiceCdnDownloadSwitch\\\">0</Item><Item key=\\\"VoiceCdnUploadSwitch\\\">0</Item><Item key=\\\"VoiceFormat\\\">4</Item><Item key=\\\"VoiceRate\\\">16000</Item><Item key=\\\"VoiceRecognizeSprDataMD5\\\"><![CDATA[61bef2b00d87c5f4bf55666c3ef3f273]]></Item><Item key=\\\"VoiceRecognizeSprSoMD5\\\"><![CDATA[a0307221c98a725c755bd197d0c7e77c;28fa1b6ba9581e3d4371d6838b31ee9a;c4043dbb3c8e9fd2f275e98c8ddc82fb]]></Item><Item key=\\\"VoiceSamplingRate\\\">16000</Item><Item key=\\\"VoiceVOIPSwitch\\\">0</Item><Item key=\\\"VoipTimeLogicValue\\\">-1</Item><Item key=\\\"VoipUseCallKitSwitch\\\">1</Item><Item key=\\\"WCOAccountDetailSwitch\\\">0</Item><Item key=\\\"WCOEntranceRedDot\\\">1</Item><Item key=\\\"WCOEntranceSwitch\\\">0</Item><Item key=\\\"WCOInviteFriend\\\">0</Item><Item key=\\\"WCOMaxTimesForShowFeedback\\\">1</Item><Item key=\\\"WCOMaxTimesForTryShowWcoMainFromVoip\\\">0</Item><Item key=\\\"WCOOpenGiftCardEntranceSwitch\\\">1</Item><Item key=\\\"WCOPackagePurchaseSwitch\\\">1</Item><Item key=\\\"WakenPushDeepLinkBitSet\\\">262148</Item><Item key=\\\"WeAppForbiddenSwitch\\\">0</Item><Item key=\\\"WeChatOutBalanceBottomHiden\\\">0</Item><Item key=\\\"WeChatOutCountryCodeRestrictionPackageID\\\">10000</Item><Item key=\\\"WeChatOutTopCountryCode\\\"><![CDATA[1,65,86,44,60,971,91,33]]></Item><Item key=\\\"WeRunLaunchGroupRankWeAppSwitch\\\">2</Item><Item key=\\\"WebKernelMode\\\">0</Item><Item key=\\\"WebViewFlowControl\\\">2</Item><Item key=\\\"WeiShiShareSnsSightTimeLength\\\">30</Item><Item key=\\\"XwebBatchTranslateMaxByteLength\\\">2000</Item><Item key=\\\"XwebBatchTranslateMaxCnt\\\">100</Item><Item key=\\\"showRecvTmpMsgBtn\\\">0</Item><Item key=\\\"MMBizAttrSyncFreq\\\">300</Item><Item key=\\\"ScanBookWording\\\"><![CDATA[title=封面/电影海报&buttonTitle=封面&tip=将书、CD、电影海报放入框内，即可自动扫描]]></Item><Item key=\\\"DynacfgSendTime\\\">1740454709</Item></dynacfg></sysmsg>\",\"msgtype\":10002,\"msgSerId\":\"4219157664121992215\",\"msgSeq\":773296744,\"at\":\"\",\"at_list\":\"<msgsource>\\n\\t<tmp_node>\\n\\t\\t<publisher-id></publisher-id>\\n\\t</tmp_node>\\n</msgsource>\\n\"}"
 *     },
 *     "nType": 5001,
 *     "nResult": 1,
 *     "vcResult": "SUCCESS",
 *     "nTimeStamp": 1740454717913,
 *     "vcSerialNo": "20250225113837891536411541130",
 *     "vcRobotWxId": "wxid_kultbellcta622",
 *     "vcMerchantNo": "202407150008480",
 *     "vcRobotSerialNo": "7155800509D08EAFBB39A2DCE845347E"
 * }
 *
 * 或
 *
 * {
 *     "Data": {
 *         "nIsHit": 1,
 *         "nMsgNum": 2,
 *         "vcMsgId": "5238280657477805199",
 *         "nMsgType": 2001,
 *         "AtInGroup": [],
 *         "dtMsgTime": "2025-01-25 20:57:59.758",
 *         "vcContent": "54uu5a2Q5bqn6ams5LiK5LiL5p6255qE5ZWG5ZOBCjHjgIEx5bCP5YyFIHwg54uu5a2Q5bqn6ams5LiK5LiL5p6255qE5ZWG5ZOB77yaNC425YWDCjLjgIEy55O2L+S7vSB8IOmGieaFleeyvumAiee6oumFkueUnOWei+e6oumFkuWNiuW5sue6oueUnOe6ouiRoeiQhOmFkjbnk7bpgIHphZLlhbcgNueTtuasp+W8j+mGkumFkuWZqOmFkuadr+Wll+ijhe+8mjYyLjY25YWDCjPjgIEy55O2L+S7vSB8IOaAoeWunee6r+WHgOawtDU1NW1sIDEy55O2L+aVtOeuseWwj+eTtumlrueUqOawtCDkvJrorq7nlKjmsLTvvJo3LjEx5YWDCuKsh+eCueWHu+eri+WNs+i0reS5sA==",
 *         "nVoiceTime": 0,
 *         "vcShareUrl": null,
 *         "vcShareDesc": null,
 *         "vcChatRoomId": "56276882219@chatroom",
 *         "vcShareTitle": null,
 *         "vcMsgSerialNo": "20250125205757755208329637668",
 *         "vcRelaSerialNo": "202501252057574964319",
 *         "vcToWxUserWxId": "",
 *         "nPlatformMsgType": 12,
 *         "vcFromWxUserWxId": "wxid_kultbellcta622",
 *         "vcChatRoomSerialNo": "87B22136FF995BEB55DA8C1ED02A653D",
 *         "vcDownFileSerialNo": "",
 *         "vcToWxUserSerialNo": "",
 *         "vcFromWxUserSerialNo": "7155800509D08EAFBB39A2DCE845347E"
 *     },
 *     "nType": 5003,
 *     "nResult": 1,
 *     "vcResult": "SUCCESS",
 *     "nTimeStamp": 1737809879758,
 *     "vcSerialNo": "20250125205757755208329637668",
 *     "vcRobotWxId": "wxid_kultbellcta622",
 *     "vcMerchantNo": "202407150008480",
 *     "vcRobotSerialNo": "7155800509D08EAFBB39A2DCE845347E"
 * }
 * </pre>
 */
@Slf4j
public abstract class RobotMessageHandler implements CallbackHandler {

    @Resource
    private WFGIdGenerator idGenerator;

    @Resource
    private MessageMapper messageMapper;

    @Resource
    private RobotMessageMapper robotMessageMapper;

    @Override
    public void handle(Callback callback) {
        Pair<Message, RobotMessage> pair = buildMessage(callback);
        Message message = pair.getLeft();
        RobotMessage robotMessage = pair.getRight();
        LambdaQueryWrapper<Message> messageWrapper = new LambdaQueryWrapper<Message>()
                .eq(Message::getId, message.getId());
        boolean messageExists = messageMapper.exists(messageWrapper);
        if (!messageExists) {
            messageMapper.insert(message);
        } else {
            log.info("消息已存在[messageId:{}]", message.getId());
        }

        String robotId = callback.getRobotId();
        String messageId = message.getId();
        LambdaQueryWrapper<Message> robotMessageWrapper = new LambdaQueryWrapper<Message>()
                .eq(Message::getId, message.getId());
        boolean robotMessageExists = messageMapper.exists(robotMessageWrapper);
        if (!robotMessageExists) {
            robotMessageMapper.insert(robotMessage);
        } else {
            log.info("机器人消息关系已存在[robotId:{}, messageId:{}]", robotId, messageId);
        }
    }

    private Pair<Message, RobotMessage> buildMessage(Callback callback) {
        LocalDateTime now = LocalDateTime.now();
        JSONObject data = (JSONObject) callback.getData();
        Integer msgType = data.getInteger("nMsgType");
        Message message = new Message()
                .setId(data.getString("vcMsgId"))
                .setSerialNo(data.getString("vcMsgSerialNo"))
                .setNum(data.getLong("nMsgNum"))
                .setTalkerId(data.getString("vcFromWxUserWxId"))
                .setTalkerSerialNo(data.getString("vcFromWxUserSerialNo"))
                .setTalkerName(data.getString("nick_name"))
                .setReceiverType(getReceiverType())
                .setReceiverId(getReceiverId(data))
                .setReceiverSerialNo(getReceiverSerialNo(data))
                .setMessageType(data.getInteger("nMsgType"))
                .setContent(getContent(msgType, data))
                .setXmlContent(data.getString("vcContentXml"))
                .setReferenceMessageBody(data.getJSONObject("reference_message_body"))
                .setVoiceTime(data.getInteger("nVoiceTime"))
                .setShareTitle(data.getString("vcShareTitle"))
                .setShareDescription(data.getString("vcShareDesc"))
                .setShareUrl(data.getString("vcShareUrl"))
                .setSendTime(LocalDateTime.ofInstant(data.getInstant("dtMsgTime"), ZoneId.systemDefault()))
                .setPlatformMessageType(data.getInteger("nPlatformMsgType"))
                .setAtInRoom(getAtInGroup(data))
                .setCreatedTime(now);

        RobotMessage robotMessage = new RobotMessage()
                .setId(idGenerator.next())
                .setRobotId(data.getString("vcToWxUserWxId"))
                .setRobotSerialNo(data.getString("vcToWxUserSerialNo"))
                .setMessageId(message.getId())
                .setMessageSerialNo(message.getSerialNo())
                .setCreatedTime(now);
        return Pair.of(message, robotMessage);
    }

    private String getContent(Integer msgType, JSONObject data) {
        String content = data.getString("vcContent");
        return switch (msgType) {
            case 2001, 2017, 2019, 2020, 2025 -> new String(Base64.decode(content));
            default -> content;
        };
    }

    private String[] getAtInGroup(JSONObject data) {
        JSONArray array = data.getJSONArray("AtInGroup");
        if (ObjectUtils.isEmpty(array)) {
            return null;
        }
        return data.getJSONArray("AtInGroup")
                .stream()
                .map(Object::toString)
                .toArray(String[]::new);
    }

    protected abstract ReceiverType getReceiverType();

    protected abstract String getReceiverId(JSONObject data);

    protected abstract String getReceiverSerialNo(JSONObject data);
}
